Fix pod annotations when restartPodsOnConfigMapChange is true (#353)
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
This commit is contained in:
parent
b30eb6fff8
commit
79ec5ba333
@ -41,7 +41,9 @@ spec:
|
||||
{{- if .Values.pulsar_manager.restartPodsOnConfigMapChange }}
|
||||
checksum/config: {{ include (print $.Template.BasePath "/pulsar-manager-configmap.yaml") . | sha256sum }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.pulsar_manager.annotations | indent 8 }}
|
||||
{{- with .Values.pulsar_manager.annotations }}
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.pulsar_manager.nodeSelector }}
|
||||
nodeSelector:
|
||||
|
||||
@ -45,7 +45,9 @@ spec:
|
||||
{{- if .Values.toolset.restartPodsOnConfigMapChange }}
|
||||
checksum/config: {{ include (print $.Template.BasePath "/toolset-configmap.yaml") . | sha256sum }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.toolset.annotations | indent 8 }}
|
||||
{{- with .Values.toolset.annotations }}
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.toolset.nodeSelector }}
|
||||
nodeSelector:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user