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
feat: implement source refs for helm set-file (Beta) (#13220) #17941
base: master
Are you sure you want to change the base?
Conversation
787bec9
to
a190562
Compare
This still needs testing added. The documentation pieces are in #17822, which I will rebase this PR on top once that lands. I'll readily admit I'm not a Go programmer so probably did some things wrong from an idiomatic standpoint. Hoping another contributor is willing to help me get this over the finish line. |
I've labeled this as beta since it's for multi-source applications which themselves are beta. |
Added documentation for fileParameters in a helm source Application or the --helm-set-file cli option from argoproj#2751. Added a note about argoproj#13220 so users are aware. argoproj#17941 aims to remove this limitation so the warning will be adjusted to mention the version that lands that support. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Added documentation for fileParameters in a helm source Application or the --helm-set-file cli option from argoproj#2751. Added a note about argoproj#13220 so users are aware. argoproj#17941 aims to remove this limitation so the warning will be adjusted to mention the version that lands that support. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Added documentation for fileParameters in a helm source Application or the --helm-set-file cli option from #2751. Added a note about #13220 so users are aware. #17941 aims to remove this limitation so the warning will be adjusted to mention the version that lands that support. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
a190562
to
ea93b75
Compare
ea93b75
to
e04ede0
Compare
87e6981
to
837f4df
Compare
I've set the documentation update to say the feature is available from ArgoCD 2.12+ because I'm assuming this won't make it into 2.11 since that's already in RC status. |
So I pushed once to confirm the test failed. And the most recent test confirms the test passes. |
@cardoe I can't open a PR against your branch, not sure why. I added one commit at morremeyer@aa090e2 that uses slices.IndexFunc to check against all manifests, not just one. Did not run the full test suite against it yet, feel free to add it to this PR. |
In multi-source applications helm values files can come from other repos if you use the ref syntax but it is not possible for the --set-file param to take files from other repos via the ref syntax. This extends the behavior to cover set-file parameters as well as the values files. fixes argoproj#13220, refs argoproj#17822 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Thanks @morremeyer. I've squashed your change in since you prefixed it with |
In multi-source applications helm values files can come from other repos if you use the ref syntax but it is not possible for the --set-file param to take files from other repos via the ref syntax. This extends the behavior to cover set-file parameters as well as the values files. fixes #13220, refs #17822
Checklist: