From 4ca9d10f3dc9732eb96342b39b4bab69b9e83347 Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Sun, 31 Jul 2022 18:54:56 +0300 Subject: [PATCH] fix(helm): explicitly specify curl in probeWebhook (#2207) --- cmd/build/helmify/static/templates/_helpers.tpl | 1 + manifest_staging/charts/gatekeeper/templates/_helpers.tpl | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/build/helmify/static/templates/_helpers.tpl b/cmd/build/helmify/static/templates/_helpers.tpl index 5506a1e1f77..6b3dab7102a 100644 --- a/cmd/build/helmify/static/templates/_helpers.tpl +++ b/cmd/build/helmify/static/templates/_helpers.tpl @@ -48,6 +48,7 @@ Output post install webhook probe container entry image: "{{ .Values.postInstall.probeWebhook.image.repository }}:{{ .Values.postInstall.probeWebhook.image.tag }}" imagePullPolicy: {{ .Values.postInstall.probeWebhook.image.pullPolicy }} args: + - "curl" - "--retry" - "99999" - "--retry-max-time" diff --git a/manifest_staging/charts/gatekeeper/templates/_helpers.tpl b/manifest_staging/charts/gatekeeper/templates/_helpers.tpl index 5506a1e1f77..6b3dab7102a 100644 --- a/manifest_staging/charts/gatekeeper/templates/_helpers.tpl +++ b/manifest_staging/charts/gatekeeper/templates/_helpers.tpl @@ -48,6 +48,7 @@ Output post install webhook probe container entry image: "{{ .Values.postInstall.probeWebhook.image.repository }}:{{ .Values.postInstall.probeWebhook.image.tag }}" imagePullPolicy: {{ .Values.postInstall.probeWebhook.image.pullPolicy }} args: + - "curl" - "--retry" - "99999" - "--retry-max-time"