diff --git a/bitnami/mongodb/Chart.yaml b/bitnami/mongodb/Chart.yaml index 346ed43ac..1e18d37d3 100644 --- a/bitnami/mongodb/Chart.yaml +++ b/bitnami/mongodb/Chart.yaml @@ -26,4 +26,4 @@ name: mongodb sources: - https://github.com/bitnami/bitnami-docker-mongodb - https://mongodb.org -version: 10.23.1 \ No newline at end of file +version: 10.23.2 diff --git a/bitnami/mongodb/templates/replicaset/svc.yaml b/bitnami/mongodb/templates/replicaset/svc.yaml index 23c225bc9..7b357e9b2 100644 --- a/bitnami/mongodb/templates/replicaset/svc.yaml +++ b/bitnami/mongodb/templates/replicaset/svc.yaml @@ -15,8 +15,8 @@ metadata: namespace: {{ include "mongodb.namespace" $ }} labels: {{- include "common.labels.standard" $ | nindent 4 }} app.kubernetes.io/component: mongodb - {{- if .Values.commonLabels }} - {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- if $root.Values.commonLabels }} + {{- include "common.tplvalues.render" ( dict "value" $root.Values.commonLabels "context" $ ) | nindent 4 }} {{- end }} {{- if $root.Values.service.annotations }} annotations: {{- include "common.tplvalues.render" (dict "value" $root.Values.service.annotations "context" $) | nindent 4 }}