diff --git a/charts/temporal/templates/server-deployment.yaml b/charts/temporal/templates/server-deployment.yaml index 9db8e46e..868a9505 100644 --- a/charts/temporal/templates/server-deployment.yaml +++ b/charts/temporal/templates/server-deployment.yaml @@ -45,13 +45,13 @@ spec: {{- end }} spec: {{ include "temporal.serviceAccount" $ }} - {{- if or $.Values.cassandra.enabled (or $.Values.elasticsearch.enabled $.Values.elasticsearch.external)}} {{- if semverCompare ">=1.13.0" $.Chart.AppVersion}} {{- with $.Values.server.securityContext }} securityContext: {{- toYaml . | nindent 8 }} {{- end }} {{- end }} + {{- if or $.Values.cassandra.enabled (or $.Values.elasticsearch.enabled $.Values.elasticsearch.external)}} initContainers: {{- if $.Values.cassandra.enabled }} - name: check-cassandra-service