[bitnami/postgresql-ha] update metrics to match with servicemonitor (#9938)

* feat(postgresql-ha): update metrics to match with servicemonitor

Signed-off-by: Johan Lore <johan.lore@free.fr>
update metrics to match with servicemonitor selector
This commit is contained in:
Joda89
2022-04-28 11:35:03 +02:00
committed by GitHub
parent e5941abdd3
commit 9e84bd276d
2 changed files with 4 additions and 1 deletions

View File

@@ -27,4 +27,4 @@ name: postgresql-ha
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 9.0.3
version: 9.0.4

View File

@@ -9,6 +9,9 @@ metadata:
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.metrics.serviceMonitor.selector }}
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.serviceMonitor.selector "context" $) | nindent 4 }}
{{- end }}
annotations:
{{- if .Values.metrics.annotations }}
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.annotations "context" $) | nindent 4 }}