[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:
Ali MOSTAFA
2021-09-07 09:45:11 +02:00
committed by GitHub
parent b2a1fb84ca
commit 9e15549401
4 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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 }}

View File

@@ -645,6 +645,9 @@ metrics:
## name: existingSecretName
##
tlsConfig: {}
## @param metrics.podMonitor.relabelings [array] Prometheus relabeling rules
##
relabelings: []
## @section Snapshotting parameters