k8s/argo/bootstrap.sh
2023-07-10 17:59:46 +00:00

14 lines
376 B
Bash
Executable file

#!/usr/bin/env bash
argocd app create apps \
--dest-namespace argocd \
--dest-server https://kubernetes.default.svc \
--repo https://git.minhas.io/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