From f6f3e74165b6b4a530ad85dc70e94661c1915c6b Mon Sep 17 00:00:00 2001 From: Tom McKay Date: Mon, 20 Mar 2023 08:47:07 -0400 Subject: [PATCH] fix(helm): switch to curl as ENTRYPOINT for probeWebhook Signed-off-by: Tom McKay --- charts/gatekeeper/templates/_helpers.tpl | 3 ++- manifest_staging/charts/gatekeeper/templates/_helpers.tpl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/gatekeeper/templates/_helpers.tpl b/charts/gatekeeper/templates/_helpers.tpl index 5ab6fe2b456..c486ca0039a 100644 --- a/charts/gatekeeper/templates/_helpers.tpl +++ b/charts/gatekeeper/templates/_helpers.tpl @@ -47,8 +47,9 @@ Output post install webhook probe container entry - name: webhook-probe-post image: "{{ .Values.postInstall.probeWebhook.image.repository }}:{{ .Values.postInstall.probeWebhook.image.tag }}" imagePullPolicy: {{ .Values.postInstall.probeWebhook.image.pullPolicy }} - args: + command: - "curl" + args: - "--retry" - "99999" - "--retry-max-time" diff --git a/manifest_staging/charts/gatekeeper/templates/_helpers.tpl b/manifest_staging/charts/gatekeeper/templates/_helpers.tpl index 5ab6fe2b456..c486ca0039a 100644 --- a/manifest_staging/charts/gatekeeper/templates/_helpers.tpl +++ b/manifest_staging/charts/gatekeeper/templates/_helpers.tpl @@ -47,8 +47,9 @@ Output post install webhook probe container entry - name: webhook-probe-post image: "{{ .Values.postInstall.probeWebhook.image.repository }}:{{ .Values.postInstall.probeWebhook.image.tag }}" imagePullPolicy: {{ .Values.postInstall.probeWebhook.image.pullPolicy }} - args: + command: - "curl" + args: - "--retry" - "99999" - "--retry-max-time"