mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-22 02:07:46 +07:00
build(bootstrap): wait for ApplicationSets
This commit is contained in:
parent
f42f8754bc
commit
d61c75cbd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user