[bitnami/mongodb] Fix a bug that prevents install chart in the replicaset mode (#7006)

This commit is contained in:
Andrey Semerun
2021-07-21 13:52:38 +02:00
committed by GitHub
parent 6d0cfebbf7
commit 236ba2bf54
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ name: mongodb
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://mongodb.org
version: 10.23.1
version: 10.23.2
@@ -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 }}