k8s/argo/bootstrap.sh

14 lines
376 B
Bash
Raw Normal View History

2023-07-08 17:51:02 +00:00
#!/usr/bin/env bash
argocd app create apps \
--dest-namespace argocd \
--dest-server https://kubernetes.default.svc \
--repo https://git.minhas.io/asara/k8s \
2023-07-10 17:59:46 +00:00
--revision main \
2023-07-08 17:51:02 +00:00
--self-heal \
--sync-policy auto \
--sync-option CreateNamespace=true \
--sync-option ServerSideApply=true \
--upsert \
--path argo/apps
#argocd app sync apps