mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 19:14:30 +02:00
feat: Add support for --wait-retries flag. (#1922)
* feat: Add support for --wait-retries flag. This change wires up waitRetries option to set the helm --wait-retries flag. --wait-retries was added in helm 3.15.0 and makes waiting more robust to registry errors. https://github.com/helm/helm/commit/fc74964 https://github.com/helm/helm/releases/tag/v3.15.0 Resolves #1522 Signed-off-by: Connor Hindley <connor.hindley@tanium.com>
This commit is contained in:
@@ -195,6 +195,8 @@ helmDefaults:
|
||||
keyring: path/to/keyring.gpg
|
||||
# wait for k8s resources via --wait. (default false)
|
||||
wait: true
|
||||
# if set and --wait enabled, will retry any failed check on resource state subject to the specified number of retries (default 0)
|
||||
waitRetries: 3
|
||||
# if set and --wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as --timeout (default false, Implemented in Helm3.5)
|
||||
waitForJobs: true
|
||||
# time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks, and waits on pod/pvc/svc/deployment readiness) (default 300)
|
||||
@@ -312,6 +314,7 @@ releases:
|
||||
verify: true
|
||||
keyring: path/to/keyring.gpg
|
||||
wait: true
|
||||
waitRetries: 3
|
||||
waitForJobs: true
|
||||
timeout: 60
|
||||
recreatePods: true
|
||||
|
||||
Reference in New Issue
Block a user