Skip to content

Commit

Permalink
Add probes to deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdie committed Sep 3, 2024
1 parent 60883a3 commit ab23ebe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/opennotificaties/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ spec:
{{- if .Values.extraEnvVars }}
{{- include "opennotificaties.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.worker.livenessProbe }}
livenessProbe:
{{- toYaml .Values.worker.livenessProbe | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.worker.resources | nindent 12 }}
command:
Expand Down
4 changes: 4 additions & 0 deletions charts/openzaak/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ spec:
{{- if .Values.extraEnvVars }}
{{- include "openzaak.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.worker.livenessProbe }}
livenessProbe:
{{- toYaml .Values.worker.livenessProbe | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.worker.resources | nindent 12 }}
command:
Expand Down

0 comments on commit ab23ebe

Please sign in to comment.