Open barth12 opened 1 year ago
I see this error if run Argo plugin AMD64 binary on ARM. In your helm configuration values you pull AMD64 binary from github releases, but are you sure you run this container on x86 machine and not on arm (like Raspberry PI)?
Make sure curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_amd64
is correctly resolved. In my a case a text "Not Found" instead of the binary caused this error message. Replicing with https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v1.17.0/argocd-vault-plugin_1.17.0_linux_amd64 worked.
Describe the bug "exec format error" when trying to run argocd-vault-plugin as a sidecar.
To Reproduce Steps to reproduce the behavior: Here's my Helm config values:
And my config map:
My Application:
Expected behavior It should not result in error:
rpc error: code = Unknown desc = Manifest generation error (cached): plugin sidecar failed. error generating manifests in cmp: rpc error: code = Unknown desc = error generating manifests: fork/exec /usr/local/bin/argocd-vault-plugin: exec format error
Additional context Version: 2.7.3