Replies: 1 comment
-
Here is the code that these environment vars are used. Issue is opened #5429. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I read on https://github.com/argoproj/argo-cd/blob/master/docs/user-guide/build-environment.md that some ARGOCD environment vars should be available for Helm. However, when I change the /usr/local/bin/helm with a custom script that first logs all the environment variables and then runs helm with the given parameters, I do not get the environment variables listed on the build-environment page when it creates the initial templates. Printing the entire env and the command to the log file gives me a long list of the env variabled added by Kubernetes, but not the ones mentioned on the aforementioned page. Seems like they are not available during template creation or are they passed in a different way?
My script:
Example output:
I'd like to hook in some additional logic before the helm evocation, for which I am depending on those environment variables to determine which application is being templated, so I was expecting/hoping those build variables would be available? Am I misunderstanding something?
Beta Was this translation helpful? Give feedback.
All reactions