Skip to content

Commit

Permalink
cluster/cert-manager-install: Wait for deployments to be ready
Browse files Browse the repository at this point in the history
Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi committed Dec 15, 2024
1 parent 0c6cac0 commit abf6773
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster/cert-manager-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit abf6773

Please sign in to comment.