In a simple bash script I want to run multiple kubectl
and helm
commands, like:
helm install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.5.4 \
--set installCRDs=true
kubectl apply -f deploy/cert-manager/cluster-issuers.yaml
My problem here is, that after the helm install
command I have to wait until the cert-manager pod is running, then the kubectl apply
command can be used. Right now the script is calling it too early, so it will fail.