diff --git a/cmd/build/helmify/static/templates/_helpers.tpl b/cmd/build/helmify/static/templates/_helpers.tpl index c486ca0039a..49bd93791cf 100644 --- a/cmd/build/helmify/static/templates/_helpers.tpl +++ b/cmd/build/helmify/static/templates/_helpers.tpl @@ -52,6 +52,7 @@ Output post install webhook probe container entry args: - "--retry" - "99999" + - "--retry-connrefused" - "--retry-max-time" - "{{ .Values.postInstall.probeWebhook.waitTimeout }}" - "--retry-delay" diff --git a/cmd/build/helmify/static/templates/probe-webhook-post-install.yaml b/cmd/build/helmify/static/templates/probe-webhook-post-install.yaml index 4f26c351c5d..7cb2c683ff6 100644 --- a/cmd/build/helmify/static/templates/probe-webhook-post-install.yaml +++ b/cmd/build/helmify/static/templates/probe-webhook-post-install.yaml @@ -47,5 +47,6 @@ spec: nodeSelector: {{- toYaml .nodeSelector | nindent 8 }} {{- end }} + backoffLimit: 3 {{- end }} {{- end }} diff --git a/manifest_staging/charts/gatekeeper/templates/_helpers.tpl b/manifest_staging/charts/gatekeeper/templates/_helpers.tpl index c486ca0039a..49bd93791cf 100644 --- a/manifest_staging/charts/gatekeeper/templates/_helpers.tpl +++ b/manifest_staging/charts/gatekeeper/templates/_helpers.tpl @@ -52,6 +52,7 @@ Output post install webhook probe container entry args: - "--retry" - "99999" + - "--retry-connrefused" - "--retry-max-time" - "{{ .Values.postInstall.probeWebhook.waitTimeout }}" - "--retry-delay" diff --git a/manifest_staging/charts/gatekeeper/templates/probe-webhook-post-install.yaml b/manifest_staging/charts/gatekeeper/templates/probe-webhook-post-install.yaml index 4f26c351c5d..7cb2c683ff6 100644 --- a/manifest_staging/charts/gatekeeper/templates/probe-webhook-post-install.yaml +++ b/manifest_staging/charts/gatekeeper/templates/probe-webhook-post-install.yaml @@ -47,5 +47,6 @@ spec: nodeSelector: {{- toYaml .nodeSelector | nindent 8 }} {{- end }} + backoffLimit: 3 {{- end }} {{- end }}