From ab23ebe4a62597561738296e3a592479c4318877 Mon Sep 17 00:00:00 2001 From: Sjoerd Schipper Date: Tue, 3 Sep 2024 14:05:07 +0200 Subject: [PATCH] Add probes to deployments --- charts/opennotificaties/templates/deployment.yaml | 4 ++++ charts/openzaak/templates/deployment.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/charts/opennotificaties/templates/deployment.yaml b/charts/opennotificaties/templates/deployment.yaml index 5248871..80bc77c 100644 --- a/charts/opennotificaties/templates/deployment.yaml +++ b/charts/opennotificaties/templates/deployment.yaml @@ -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: diff --git a/charts/openzaak/templates/deployment.yaml b/charts/openzaak/templates/deployment.yaml index 8550a0f..4b1f8c9 100644 --- a/charts/openzaak/templates/deployment.yaml +++ b/charts/openzaak/templates/deployment.yaml @@ -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: