khuedoan-homelab/bootstrap/argocd/apply.sh
2021-12-28 10:24:05 +07:00

12 lines
268 B
Bash
Executable File

#!/bin/sh
helm template \
--include-crds \
--namespace argocd \
argocd . \
| kubectl apply -n argocd -f -
kubectl -n argocd wait --timeout=60s --for condition=Established \
crd/applications.argoproj.io \
crd/applicationsets.argoproj.io