k8s/argo/bootstrap.sh

14 lines
377 B
Bash
Raw Permalink 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 \
2024-01-27 18:53:00 +00:00
--repo https://git.devvul.com/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