Skip to content

Commit d8dc9e7

Browse files
authored
adding additional waits to prevent e2e cert-manager failures (#441)
Signed-off-by: Jordan Keister <[email protected]>
1 parent 341672a commit d8dc9e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/install.tpl.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ function kubectl_wait() {
3333
}
3434

3535
kubectl apply -f "https://github.com/cert-manager/cert-manager/releases/download/${cert_mgr_version}/cert-manager.yaml"
36+
kubectl_wait "cert-manager" "deployment/cert-manager-cainjector" "60s"
3637
kubectl_wait "cert-manager" "deployment/cert-manager-webhook" "60s"
37-
38+
kubectl_wait "cert-manager" "deployment/cert-manager" "60s"
39+
kubectl wait mutatingwebhookconfigurations/cert-manager-webhook --for=jsonpath='{.webhooks[0].clientConfig.caBundle}' --timeout=60s
40+
kubectl wait validatingwebhookconfigurations/cert-manager-webhook --for=jsonpath='{.webhooks[0].clientConfig.caBundle}' --timeout=60s
3841
kubectl apply -f "${catalogd_manifest}"
3942
kubectl_wait "olmv1-system" "deployment/catalogd-controller-manager" "60s"
4043

0 commit comments

Comments
 (0)