mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[bitnami/etcd] add Prometheus podmonitor relabelings parameter (#7399)
* add prelabelings field to Prometheus pod monitor * update etcd README.md * Update bitnami/etcd/README.md Co-authored-by: Pablo Galego <pablogalegocarro@gmail.com> * Update bitnami/etcd/values.yaml Co-authored-by: Pablo Galego <pablogalegocarro@gmail.com> * Update bitnami/etcd/values.yaml Co-authored-by: Pablo Galego <pablogalegocarro@gmail.com> Co-authored-by: Pablo Galego <pablogalegocarro@gmail.com>
This commit is contained in:
@@ -25,4 +25,4 @@ name: etcd
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-etcd
|
||||
- https://coreos.com/etcd/
|
||||
version: 6.7.0
|
||||
version: 6.8.0
|
||||
|
||||
@@ -240,6 +240,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `metrics.podMonitor.additionalLabels` | Additional labels that can be used so PodMonitors will be discovered by Prometheus | `{}` |
|
||||
| `metrics.podMonitor.scheme` | Scheme to use for scraping | `http` |
|
||||
| `metrics.podMonitor.tlsConfig` | TLS configuration used for scrape endpoints used by Prometheus | `{}` |
|
||||
| `metrics.podMonitor.relabelings` | Prometheus relabeling rules | `[]` |
|
||||
|
||||
|
||||
### Snapshotting parameters
|
||||
|
||||
@@ -30,6 +30,10 @@ spec:
|
||||
{{- if .Values.metrics.podMonitor.tlsConfig }}
|
||||
tlsConfig: {{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podMonitor.tlsConfig "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.podMonitor.relabelings }}
|
||||
relabelings:
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.podMonitor.relabelings "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- {{ .Release.Namespace }}
|
||||
|
||||
@@ -645,6 +645,9 @@ metrics:
|
||||
## name: existingSecretName
|
||||
##
|
||||
tlsConfig: {}
|
||||
## @param metrics.podMonitor.relabelings [array] Prometheus relabeling rules
|
||||
##
|
||||
relabelings: []
|
||||
|
||||
## @section Snapshotting parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user