[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

@@ -25,4 +25,4 @@ name: clickhouse
sources: sources:
- https://github.com/bitnami/containers/tree/main/bitnami/clickhouse - https://github.com/bitnami/containers/tree/main/bitnami/clickhouse
- https://github.com/ClickHouse/ClickHouse - https://github.com/ClickHouse/ClickHouse
version: 1.0.2 version: 1.0.3

View File

@@ -66,7 +66,7 @@ spec:
schedulerName: {{ $.Values.schedulerName | quote }} schedulerName: {{ $.Values.schedulerName | quote }}
{{- end }} {{- end }}
{{- if $.Values.topologySpreadConstraints }} {{- 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 }} {{- end }}
{{- if $.Values.podSecurityContext.enabled }} {{- if $.Values.podSecurityContext.enabled }}
securityContext: {{- omit $.Values.podSecurityContext "enabled" | toYaml | nindent 8 }} securityContext: {{- omit $.Values.podSecurityContext "enabled" | toYaml | nindent 8 }}