[bitnami/mongodb-sharded] Fix incorrect references when setting shardsvr persistence configuration (#11455)

* [bitnami/mongodb-sharded] Fix incorrect references when setting shardsvr
persistence configuration

This commit piggybacks off my previous commit, so that is why the
version bumped by 2. Hopefully it doesn't create merge conflicts.

Signed-off-by: Joey Holtzman <joeyholtzman0507@gmail.com>

* [bitnami/mongodb-sharded] Update chart version to 6.0.1

Signed-off-by: Joey Holtzman <joeyholtzman0507@gmail.com>

Signed-off-by: Joey Holtzman <joeyholtzman0507@gmail.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Joey H
2022-08-17 02:01:48 -05:00
committed by GitHub
parent 5c31b475f3
commit 36f864759a
2 changed files with 2 additions and 2 deletions

View File

@@ -26,4 +26,4 @@ name: mongodb-sharded
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/mongodb-sharded
- https://mongodb.org
version: 6.0.2
version: 6.0.3

View File

@@ -401,7 +401,7 @@ spec:
- metadata:
name: datadir
{{- if or $.Values.shardsvr.persistence.annotations $.Values.commonAnnotations $.Values.shardsvr.persistence.resourcePolicy }}
{{- if or .Values.commonAnnotations .Values.configsvr.persistence.annotations .Values.configsvr.persistence.resourcePolicy }}
{{- if or $.Values.commonAnnotations $.Values.shardsvr.persistence.annotations $.Values.shardsvr.persistence.resourcePolicy }}
annotations:
{{- if $.Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 10 }}