fix render topologySpreadConstraints (#13084)

Signed-off-by: cleverhu <shouping.hu@daocloud.io>

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
This commit is contained in:
cleverhu
2022-10-24 20:40:31 +08:00
committed by GitHub
parent c8e80b7038
commit dd746d494f
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.1.7
version: 6.1.8

View File

@@ -71,7 +71,7 @@ spec:
priorityClassName: {{ $.Values.shardsvr.arbiter.priorityClassName | quote }}
{{- end }}
{{- if $.Values.shardsvr.arbiter.topologySpreadConstraints }}
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.arbiter.topologySpreadConstraints "context" .) | nindent 8 }}
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.arbiter.topologySpreadConstraints "context" $) | nindent 8 }}
{{- end }}
{{- if $.Values.shardsvr.arbiter.podSecurityContext.enabled }}
securityContext: {{- omit $.Values.shardsvr.arbiter.podSecurityContext "enabled" | toYaml | nindent 8 }}