k8s/argo/bootstrap.sh
2024-01-27 18:53:00 +00:00

14 lines
377 B
Bash
Executable file

#!/usr/bin/env bash
argocd app create apps \
--dest-namespace argocd \
--dest-server https://kubernetes.default.svc \
--repo https://git.devvul.com/asara/k8s \
--revision main \
--self-heal \
--sync-policy auto \
--sync-option CreateNamespace=true \
--sync-option ServerSideApply=true \
--upsert \
--path argo/apps
#argocd app sync apps