Increase the timeout for leader elector ready (#443)
Bumps the timeout waiting for the injector replicas (with leader-elector containers) to be "Ready" to 5 minutes. Default was 30 seconds.
This commit is contained in:
parent
e69efc018d
commit
2451b5fb65
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ load _helpers
|
||||||
|
|
||||||
helm install "$(name_prefix)" \
|
helm install "$(name_prefix)" \
|
||||||
--set="injector.replicas=3" .
|
--set="injector.replicas=3" .
|
||||||
kubectl wait --for condition=Ready pod -l app.kubernetes.io/name=vault-agent-injector
|
kubectl wait --for condition=Ready pod -l app.kubernetes.io/name=vault-agent-injector --timeout=5m
|
||||||
|
|
||||||
pods=($(kubectl get pods -l app.kubernetes.io/name=vault-agent-injector -o json | jq -r '.items[] | .metadata.name'))
|
pods=($(kubectl get pods -l app.kubernetes.io/name=vault-agent-injector -o json | jq -r '.items[] | .metadata.name'))
|
||||||
[ "${#pods[@]}" == 3 ]
|
[ "${#pods[@]}" == 3 ]
|
||||||
|
|
Loading…
Reference in a new issue