Skip to content

Commit

Permalink
added probes conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed Apr 12, 2024
1 parent fd4cf14 commit 1db8e78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/redash/templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 1db8e78

Please sign in to comment.