Log debug output in helm.Config [#9]

Redacting KubeToken may not be sufficient, since it's possible that
someone would put secrets in Values or StringValues. Unilaterally
redacting those seems unhelpful, though, since they may be the very
thing the user is trying to debug. I've settled on redacting the obvious
field without trying to promise that all sensitive data will be hidden.
This commit is contained in:
Erin Call
2019-12-24 11:08:09 -08:00
parent 4ba1e694d9
commit 08ddf5e27a
5 changed files with 78 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func main() {
cfg, err := helm.NewConfig()
cfg, err := helm.NewConfig(os.Stdout, os.Stderr)
if err != nil {
fmt.Fprintf(os.Stderr, "%s\n", err.Error())