[bitnami/mariadb] Fix ServiceMonitor namespace value reference (#20971)

Signed-off-by: Zakhar Petrov <46595458+zakhar-petrov@users.noreply.github.com>
This commit is contained in:
Zakhar Petrov
2023-11-20 13:08:03 +03:00
committed by GitHub
parent 0cffbfeb28
commit d150c8543d
2 changed files with 2 additions and 2 deletions

View File

@@ -34,4 +34,4 @@ maintainers:
name: mariadb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mariadb
version: 14.1.2
version: 14.1.3

View File

@@ -8,7 +8,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "common.names.fullname" . }}
namespace: {{ default .Release.Namespace .Values.metrics.prometheusRule.namespace | quote }}
namespace: {{ default .Release.Namespace .Values.metrics.serviceMonitor.namespace | quote }}
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
{{- if .Values.commonAnnotations }}