Closed EronWright closed 3 months ago
Looking good! No breaking changes found. No new resources/functions.
Attention: Patch coverage is 68.18182%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 36.77%. Comparing base (
4fddc20
) to head (d96468b
).
Files | Patch % | Lines |
---|---|---|
provider/pkg/provider/helm/v4/chart.go | 68.18% | 4 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR has been shipped in release v4.13.1.
Proposed changes
This PR fixes a problem with how Chart v4 uses the Helm library. The design goal is to allow for connectivity during template rendering, to support the lookup function (see https://github.com/helm/helm/pull/9426) and to provide an accurate Capabilities object. Unfortunately we were slightly too aggressive and caused some of Helm's "non-template" code to execute.
This fix works by turning off the
helm template --validation
flag, so that the internalClientOnly
flag is true thus avoiding this block of code that causes the unexpected error. A side-effect ofClientOnly
being true is that the capabilities aren't automatically set, and so we set them using the provider's kube client (akin to using--kube-version
).Detailed changes:
.Capabilities
Related issues (optional)
Closes #3045