You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helm dependency build worked as expected on skaffold 2.2.0 with the workaround mentioned in #5445 (comment)
The fix for that issue was merged and available since skaffold 2.4.0, so I tried to upgrade to the latest version and remove the workaround.
Actual behavior
Skaffold/helm breaks becasue of an error caused by global flags being passed to helm dep build. These flags are valid for helm template, but not helm dep.
I should note here that I am specifying helm global flags as a helm anchor.
sumeshpremraj
changed the title
skaffold passes incorrect helm flags to helm dep build
skaffold render passes incorrect global helm flags to helm dep build
Nov 9, 2023
Hey @sumeshpremraj, thanks for opening this issue. I was able to reproduce this. As you mention, the global flags are used in all the Helm commands that Skaffold invoques behind the scene.
I would say then the best option here is to extend the helm.flags property to include something like helm.flags.dep and helm.flags.template to be more granular.
Expected behavior
Helm dependency build worked as expected on skaffold 2.2.0 with the workaround mentioned in #5445 (comment)
The fix for that issue was merged and available since skaffold 2.4.0, so I tried to upgrade to the latest version and remove the workaround.
Actual behavior
Skaffold/helm breaks becasue of an error caused by global flags being passed to
helm dep build
. These flags are valid forhelm template
, but nothelm dep
.I should note here that I am specifying helm global flags as a helm anchor.
Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: