From 7b08d2321d2ad4220d98658ef2d405404e3534b8 Mon Sep 17 00:00:00 2001 From: thomasmckay Date: Fri, 24 Mar 2023 16:34:56 -0400 Subject: [PATCH] fix(helm): switch to curl as ENTRYPOINT for probeWebhook (#2632) Signed-off-by: Tom McKay Co-authored-by: Rita Zhang --- cmd/build/helmify/static/templates/_helpers.tpl | 3 ++- manifest_staging/charts/gatekeeper/templates/_helpers.tpl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/build/helmify/static/templates/_helpers.tpl b/cmd/build/helmify/static/templates/_helpers.tpl index 5ab6fe2b456..c486ca0039a 100644 --- a/cmd/build/helmify/static/templates/_helpers.tpl +++ b/cmd/build/helmify/static/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"