Skip to content

Commit

Permalink
remove old hack for overriding namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ndhanushkodi committed Sep 22, 2021
1 parent eb31fec commit 87cc790
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cli/cmd/uninstall/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,6 @@ func (c *Command) Run(args []string) int {
return 1
}
}
// Recreating settings with the found namespace so that the kube client in Helm is re-initialized with the right namespace facepalm
//prevHelmNSEnv := os.Getenv("HELM_NAMESPACE")
//os.Setenv("HELM_NAMESPACE", foundReleaseNamespace)
//settings = helmCLI.New()
//os.Setenv("HELM_NAMESPACE", prevHelmNSEnv)

// Actually call out to `helm delete`.
actionConfig, err = c.initActionConfig(actionConfig, foundReleaseNamespace, settings, uiLogger)
Expand Down

0 comments on commit 87cc790

Please sign in to comment.