Files
demo-vivek-11/deploy/argocd/application.yaml
2026-09-28 19:28:51 +01:00

23 lines
616 B
YAML

# Lives on the HUB, in the agent's namespace. The argocd-agent pushes it to the spoke.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: demo-vivek-11
namespace: apps-lab
spec:
project: apps-lab
source:
repoURL: https://gitea.kyndemo.live/validate/demo-vivek-11.git
targetRevision: main
path: deploy/manifests
destination:
# name, never server: server https://kubernetes.default.svc resolves to the hub itself.
name: apps-lab
namespace: demo-vivek-11
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true