ArgoCD Plugin environmental variables #10444
Unanswered
goelshubham
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As per the documentation here, I understand that the variables defined under argocd cmp's ENV section are accessible by plugin's
init
andgenerate
commands. I tested that by adding a simple commandecho $ARGOCD_ENV_variablename
in the cmp'sgenerate
, however I have a use-case where my cmp'sgenerate
will execute a command that will produce kubernetes manifest files to standard output and I would like values of variables from ENV such as$ARGOCD_ENV_variablename
to be injected in k8s files generated.I have been trying to experiment this but doesn't seem to work yet so I would like to be sure if this is possible or not.
Beta Was this translation helpful? Give feedback.
All reactions