-
Notifications
You must be signed in to change notification settings - Fork 273
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
fix: handling varfiles in remote actions #6147
Conversation
be50da1
to
6abf4c6
Compare
@ManAnRuck thank you so much for creating the PR! 👍 I'll take a closer look soon. Let's bring this together to the next release :) |
i am currently thinking about what is a better solution.
any suggestions or other ideas? |
Signed-off-by: Manuel Ruck <[email protected]>
Signed-off-by: Manuel Ruck <[email protected]>
5172cfc
to
a9e3457
Compare
@ManAnRuck thanks for the fix! LGTM 👍 @stefreak @thsig can you take a look please? I've added a few more changes to the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Thank you :) then I will try now to reuse this function to get the valueFiles too 😃 |
@@ -5,6 +5,10 @@ source: | |||
repository: | |||
url: https://github.com/garden-io/garden-example-remote-module-jworker.git#main | |||
|
|||
# Do not delete, this must be resolved from the current path, not from the cloned sourced path | |||
varfiles: | |||
- ./.env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vvagaytsev I just noticed this is an example, and not a test case– examples should be concise and this comment might confuse new users. Maybe it's better to create a more specific integ or unit test for this behaviour and remove this code from the example.
What this PR does / why we need it:
fix read varfiles in helm deployments with
sources.repository.url
Which issue(s) this PR fixes:
Fixes #6146
Special notes for your reviewer:
It's just a dirty try to fix it. maybe there are some better solutions