Skip to content

Instantly share code, notes, and snippets.

@esys
Last active October 12, 2020 16:51
Show Gist options
  • Save esys/e7eaaa58e17c48ad389066960275887e to your computer and use it in GitHub Desktop.
Save esys/e7eaaa58e17c48ad389066960275887e to your computer and use it in GitHub Desktop.
ArgoCD plugin for Helm secrets
server:
config:
configManagementPlugins: |
- name: helmSecrets
init:
command: ["gpg"]
args: ["--import", "/home/argocd/gpg/gpg.asc"] # is mounted as a kube secret
generate:
command: ["/bin/sh", "-c"]
args: ["helm secrets template $HELM_OPTS $RELEASE_NAME ."]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment