Skip to content

Instantly share code, notes, and snippets.

@esys
Created October 12, 2020 16:42
Show Gist options
  • Save esys/0e3167235bcedd5a8a63ed0713073e27 to your computer and use it in GitHub Desktop.
Save esys/0e3167235bcedd5a8a63ed0713073e27 to your computer and use it in GitHub Desktop.
ArgoCD CRD application
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: testapp
namespace: argocd
spec:
project: default
source:
repoURL: git@gitlab.com:my/repo/charts.git
targetRevision: master
path: charts/testapp
helm:
releaseName: testapp
valueFiles:
- "secrets.yaml"
destination:
server: https://kubernetes.default.svc
namespace: testapp
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment