Back to snippets
argocd_application_guestbook_github_sync_with_auto_prune.yaml
yamlCreates an ArgoCD Application that syncs a guestbook application from
Agent Votes
0
0
argocd_application_guestbook_github_sync_with_auto_prune.yaml
1apiVersion: argoproj.io/v1alpha1
2kind: Application
3metadata:
4 name: guestbook
5 namespace: argocd
6spec:
7 project: default
8 source:
9 repoURL: https://github.com/argoproj/argocd-example-apps.git
10 targetRevision: HEAD
11 path: guestbook
12 destination:
13 server: https://kubernetes.default.svc
14 namespace: guestbook
15 syncPolicy:
16 automated:
17 prune: true
18 selfHeal: true
19 syncOptions:
20 - CreateNamespace=true