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
import helmStorage "helm.sh/helm/v3/pkg/storage"func (c*HelmClient) TemplateChart(....) ([]byte, error) {
// Copy as isogReleases:=c.ActionConfig.Releases// Set temporary empty new storagec.ActionConfig.Releases=helmStorage.Init(ogReleases.Driver)
deferfunc() {
// Set back to value it was to start withc.ActionConfig.Releases=ogReleases
}()
The Issue
Running Client.TemplateChart breaks Client.GetRelease.
GetRelease("my-release")
Works ✅TemplateChart(....)
Works ✅GetRelease("my-release")
Fails 🛑release: not found
Cause of problem
The issue is from this line in the upstream helm repo. helm/pkg/action/install.go#L269
Possible Workaround
mittwald/go-helm-client/client.go#L466
Test to reproduce issue
Before I make a pull request, anyone have any thoughts?
The text was updated successfully, but these errors were encountered: