diff --git a/charts/redash/templates/worker-deployment.yaml b/charts/redash/templates/worker-deployment.yaml index 532770c..a6908c0 100644 --- a/charts/redash/templates/worker-deployment.yaml +++ b/charts/redash/templates/worker-deployment.yaml @@ -39,7 +39,9 @@ spec: {{ with $workerConfig.volumeMounts -}} volumeMounts: {{ toYaml . | nindent 12 }} {{- end -}} - livenessProbe: {{ toYaml $workerConfig.livenessProbe | nindent 12 }} + {{- with $workerConfig.livenessProbe }} + livenessProbe: {{ toYaml . | nindent 12 }} + {{- end }} env: {{- $envCtx := mergeOverwrite (deepCopy $) (dict "Values" (dict "env" $workerConfig.env)) -}} {{- include "redash.env" $envCtx | nindent 12 }}