-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 logic that set absolute paths in the parsed configuration #5452
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5452 +/- ##
=======================================
Coverage 71.41% 71.42%
=======================================
Files 397 397
Lines 14551 14547 -4
=======================================
- Hits 10392 10390 -2
+ Misses 3388 3387 -1
+ Partials 771 770 -1
Continue to review full report at Codecov.
|
if filepath.IsAbs(path) { | ||
return errs | ||
if path == "" || filepath.IsAbs(path) { | ||
continue |
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.
was erroneously returning here. That meant if two successive fields in a struct have the filepath
tag (like HelmRelease) and the first is set to an absolute value already, then the second field did not get processed.
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.
LGTM 👍🏼
@gsquared94 what about the other helm configuration options ? like the setFiles part? By the way, the feature with the multi repos is mega cool(thx for the effort), wanted to use it, but this issue and the part with the setFiles are blocking me. |
Fixes: #5396
Test
Setup the files
where:
/skaffold.yaml:
frontend/web-app/skaffold.yaml:
From root directory run:
Before fix Output
After fix Output