Skip to content

Instantly share code, notes, and snippets.

@esys
Last active April 8, 2021 19:07
Show Gist options
  • Save esys/2c13429e55709bf9c8975bb90ddf57d6 to your computer and use it in GitHub Desktop.
Save esys/2c13429e55709bf9c8975bb90ddf57d6 to your computer and use it in GitHub Desktop.
ArgoCD application with plugin
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
plugin:
name: helmSecrets
env:
- name: HELM_OPTS
value: "-f secrets.yaml"
- name: RELEASE_NAME
value: "testapp"
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