Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to set helm command #3866

Open
james-callahan opened this issue Jun 29, 2020 · 2 comments
Open

Way to set helm command #3866

james-callahan opened this issue Jun 29, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@james-callahan
Copy link
Contributor

For various reasons its desirable to modify the way that ArgoCD invokes helm

Proposal

Introduce a per-application or per-project config field that specifies which executable to invoke when running (each version of?) helm.
There is already a binaryName field in HelmVer: if the user has specified this variable, then place it in there.

@james-callahan james-callahan added the enhancement New feature or request label Jun 29, 2020
@jurgenweber
Copy link

jurgenweber commented Jul 10, 2020

is there a way to do this without this feature?

I need to invoke helm with:

helm secrets upgrade --install .....

@jkroepke
Copy link
Contributor

Workaround

A shell script like

#!/bin/sh
exec /usr/local/bin/helm secrets "$@"

can be placed in /usr/local/sbin/helm. Since ArgoCD calls helm, /usr/local/sbin/helm instead /usr/local/bin/helm will be executed since /usr/local/sbin/ is preferred over /usr/local/bin/´, because it has a higher priority in the PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants