Skip to content

Commit

Permalink
fix: helm probe webhook retry logic (#2873)
Browse files Browse the repository at this point in the history
Signed-off-by: Eshaan Mathur <37758843+eshaanm25@users.noreply.github.com>
Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
  • Loading branch information
eshaanm25 and ritazh committed Jul 19, 2023
1 parent 63fcbad commit 1076798
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/build/helmify/static/templates/_helpers.tpl
Expand Up @@ -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"
Expand Down
Expand Up @@ -47,5 +47,6 @@ spec:
nodeSelector:
{{- toYaml .nodeSelector | nindent 8 }}
{{- end }}
backoffLimit: 3
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions manifest_staging/charts/gatekeeper/templates/_helpers.tpl
Expand Up @@ -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"
Expand Down
Expand Up @@ -47,5 +47,6 @@ spec:
nodeSelector:
{{- toYaml .nodeSelector | nindent 8 }}
{{- end }}
backoffLimit: 3
{{- end }}
{{- end }}

0 comments on commit 1076798

Please sign in to comment.