[bitnami/clickhouse] Fix render topologySpreadConstraints (#13083)

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

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
Signed-off-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com>
Co-authored-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com>
This commit is contained in:
cleverhu
2022-11-03 19:53:02 +08:00
committed by GitHub
parent a4f111f867
commit d525fce4b4
2 changed files with 2 additions and 2 deletions

View File

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