build(bootstrap): wait for ApplicationSets

This commit is contained in:
Khue Doan 2021-12-17 08:08:06 +07:00
parent f42f8754bc
commit d61c75cbd3

View File

@ -8,10 +8,15 @@ default: argocd root
.PHONY: argocd
argocd:
kustomize build ./argocd | kubectl apply -f -
kubectl -n argocd wait --for condition=established \
kubectl -n argocd wait --for condition=Established \
crd/applications.argoproj.io \
crd/applicationsets.argoproj.io
.PHONY: root
root:
kustomize build ./root | kubectl apply -f -
kubectl -n argocd wait --for condition=ResourcesUpToDate \
applicationset/bootstrap \
applicationset/system \
applicationset/platform \
applicationset/apps