We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Checklist:
argocd version
Describe the bug
When trying to upgrade from Argo v2.3.4 to v2.4.0, we found that plugin command cannot read ENV set in Application. The following is reproduce step:
To Reproduce
Setup an application with the following configuration:
apiVersion: argoproj.io/v1alpha1 kind: Application spec: source: plugin: name: my-plugin env: - name: MY_ENV_NAME value: my-env-value
Setup configManagementPlugin with the following configuration:
configManagementPlugins: generate: command: ['sh', '-c'] args: ['my-command "$MY_ENV_NAME"']
my-command
The output of my-command is empty string instead of my-env-value.
my-env-value
Expected behavior
Screenshots
Version
argocd: v2.4.0+91aefab BuildDate: 2022-06-10T17:44:14Z GitCommit: 91aefabc5b213a258ddcfe04b8e69bb4a2dd2566 GitTreeState: clean GoVersion: go1.18.3 Compiler: gc Platform: linux/amd64 argocd-server: v2.4.0+91aefab
Logs
The text was updated successfully, but these errors were encountered:
Find help in slack, https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#update-plugins-to-use-newly-prefixed-environment-variables
Sorry, something went wrong.
No branches or pull requests
Checklist:
argocd version
.Describe the bug
When trying to upgrade from Argo v2.3.4 to v2.4.0, we found that plugin command cannot read ENV set in Application. The following is reproduce step:
To Reproduce
Setup an application with the following configuration:
Setup configManagementPlugin with the following configuration:
my-command
, print the first argument.The output of
my-command
is empty string instead ofmy-env-value
.Expected behavior
my-env-value
defined in Application.Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: