Last active
April 8, 2021 19:07
-
-
Save esys/2c13429e55709bf9c8975bb90ddf57d6 to your computer and use it in GitHub Desktop.
ArgoCD application with plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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