fix(setup): wait for specific cert-manager pods to be ready #91
@@ -16,7 +16,9 @@ kustomized="$(mktemp --suffix .unboundkind.yaml --tmpdir=/tmp/)"
|
|||||||
|
|
||||||
kubectl kustomize --enable-helm ./kind > "${kustomized}"
|
kubectl kustomize --enable-helm ./kind > "${kustomized}"
|
||||||
kubectl apply -f "${kustomized}" || true
|
kubectl apply -f "${kustomized}" || true
|
||||||
kubectl wait --for=condition=Ready pods --all -n cert-manager --timeout=5m
|
kubectl wait --for=condition=Ready pods -n cert-manager -l app=cert-manager --timeout 5m
|
||||||
|
kubectl wait --for=condition=Ready pods -n cert-manager -l app=cainjector --timeout 5m
|
||||||
|
kubectl wait --for=condition=Ready pods -n cert-manager -l app=webhook --timeout 5m
|
||||||
kubectl wait --for=condition=Ready pods --all -n external-secrets --timeout=5m
|
kubectl wait --for=condition=Ready pods --all -n external-secrets --timeout=5m
|
||||||
kubectl apply -f "${kustomized}"
|
kubectl apply -f "${kustomized}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user