Skip to content

Instantly share code, notes, and snippets.

@calvin-puram
Last active December 27, 2021 15:03
Show Gist options
  • Select an option

  • Save calvin-puram/31df9abb49a9203a2609c4c9e3079f9d to your computer and use it in GitHub Desktop.

Select an option

Save calvin-puram/31df9abb49a9203a2609c4c9e3079f9d to your computer and use it in GitHub Desktop.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: myapp
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/calvin-puram/argo-demo-deployment.git
targetRevision: HEAD
path: dev
destination:
server: https://kubernetes.default.svc
namespace: myapp
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
prune: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment