helm-secrets: Problem with ArgoCD Multi-Source Application Support

Current Behavior

I am using your latest instructions here to the letter: https://github.com/jkroepke/helm-secrets/wiki/ArgoCD-Integration#multi-source-application-support-beta

I am seeing encrypted values in my Kubernetes secrets and from the repo-server log:

download-tools sh: can't create /usr/local/sbin/helm: nonexistent directory

Might there be an error on this line?

printf '#!/usr/bin/env sh\nif [ "${HELM_SECRETS_WRAPPER_ENABLED}" = "true" ]; then exec %1$s secrets "$@"; fi\nexec %1$s "$@"' "helm" "${HELM_SECRETS_HELM_PATH}" >"/usr/local/sbin/helm" && chmod +x "/custom-tools/helm"

Expected Behavior

No response

Steps To Reproduce

No response

Environment

  • Helm Secrets Version: 4.4.0
  • ArgoCD Version : 2.6.3

Anything else?

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 29 (15 by maintainers)

Most upvoted comments

if you run which helm, it should result /usr/local/sbin/helm, because in PATH variable, /usr/local/sbin/ is before /usr/local/bin/