From 7902da3b0b35b5ba76317427ab43f5176f7d0483 Mon Sep 17 00:00:00 2001 From: Alen Haric Date: Mon, 28 Aug 2023 18:52:54 -0400 Subject: [PATCH] added liveness and readiness probes to debug container partials template Signed-off-by: Alen Haric --- charts/partials/templates/_debug.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/charts/partials/templates/_debug.tpl b/charts/partials/templates/_debug.tpl index cf0eb14174196..459154093a3ba 100644 --- a/charts/partials/templates/_debug.tpl +++ b/charts/partials/templates/_debug.tpl @@ -3,4 +3,14 @@ image: {{.Values.debugContainer.image.name}}:{{.Values.debugContainer.image.vers imagePullPolicy: {{.Values.debugContainer.image.pullPolicy | default .Values.imagePullPolicy}} name: linkerd-debug terminationMessagePolicy: FallbackToLogsOnError +livenessProbe: + exec: + command: + - touch + - /tmp/healthy +readinessProbe: + exec: + command: + - touch + - /tmp/healthy {{- end -}}