k8s/argo/bootstrap.sh
2023-07-08 13:51:02 -04:00

14 lines
378 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 master \
--self-heal \
--sync-policy auto \
--sync-option CreateNamespace=true \
--sync-option ServerSideApply=true \
--upsert \
--path argo/apps
#argocd app sync apps