<mohammadrony>

Application

Create

argocd app create <app-name> --repo https://github.com/<username>/<repository>.git --path <path> --revision <branch> --dest-server https://kubernetes.default.svc --dest-namespace <namespace> --sync-policy automated --sync-option CreateNamespace=true

App of apps

argocd app create app-of-apps -f app-of-apps.yaml

Apply manifest

kubectl apply -f application.yaml
kubectl apply -f helm-application.yaml
kubectl apply -f kustomize-application.yaml

Sync

argocd app sync <app-name>

Delete unexpected resource

argocd app sync <app-name> --prune

List

argocd app list