mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user