diff --git a/cluster/cert-manager-install.sh b/cluster/cert-manager-install.sh index 5de4930fc..85b067437 100755 --- a/cluster/cert-manager-install.sh +++ b/cluster/cert-manager-install.sh @@ -23,4 +23,7 @@ if [[ $DEPLOY_CERT_MANAGER == true ]]; then echo "Installing cert-manager..." manifest="https://github.com/cert-manager/cert-manager/releases/download/${CERT_MANAGER_VERSION}/cert-manager.yaml" ./cluster/kubectl.sh apply -f "$manifest" + ./cluster/kubectl.sh wait --namespace cert-manager --for=condition=Available deployment/cert-manager + ./cluster/kubectl.sh wait --namespace cert-manager --for=condition=Available deployment/cert-manager-cainjector + ./cluster/kubectl.sh wait --namespace cert-manager --for=condition=Available deployment/cert-manager-webhook fi