argocd-vault-plugin: Does not work with argocd multiple sources
argo-vault-plugin version 1.13.1 installed as sidecar container Tried add this manifest
project: myProject
source:
repoURL: 'https://gitlab.local/k8s/testproject/testapp.git'
path: ./
targetRevision: HEAD
destination:
server: 'https://kubernetes.default.svc'
namespace: test
sources:
- repoURL: 'https://gitlab.local/k8s/testproject/testapp.git'
path: ./
targetRevision: master
plugin:
name: argocd-vault-plugin-helm
env:
- name: HELM_ARGS
value: -f $app_values/global/values.yaml
- repoURL: 'https://git.local/k8s/testproject/env.git'
targetRevision: feature/argocd
ref: app_values
And I get an error:
Unable to save changes: application spec for testapp is invalid: InvalidSpecError: Unable to generate manifests in ./: rpc error: code = Unknown desc = plugin sidecar failed. error generating manifests in cmp: rpc error: code = Unknown desc = error generating manifests: `sh -c helm template $ARGOCD_APP_NAME -n $ARGOCD_APP_NAMESPACE ${ARGOCD_ENV_HELM_ARGS} . | argocd-vault-plugin generate - ` failed exit status 126: sh: 2: argocd-vault-plugin: Exec format error Error: open /global/values.yaml: no such file or directory
Maybe I’m doing something wrong)
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 7
- Comments: 17 (2 by maintainers)
Any update on this one ? Has anyone managed to get this working? Plugins with multi-sourced apps