Closed chenrui333 closed 5 years ago
I think this needs a run of go mod vendor
Thanks, let's try it!
I am going to just to have this PR focus on the helm upgrade and have another PR to do the k8s api upgrade (maybe that requires some code changes).
The failures all point to:
# k8s.io/helm/pkg/chartutil
vendor/k8s.io/helm/pkg/chartutil/values.go:136:22: too many arguments in call to yaml.Unmarshal
have ([]byte, *Values, func(*json.Decoder) *json.Decoder)
want ([]byte, interface {})
Not quite sure why a helm-3 PR got slipped into helm 2.15.0.
That's really weird - the function signature for sigs.k8s.io/yaml's Unmarshal
hasn't changed in years: https://github.com/kubernetes-sigs/yaml/blame/master/yaml.go#L35
The commit, https://github.com/helm/helm/commit/f94bac0643ad5d39c740c57c6c8ea6a4569a1db0#diff-c508e0fda01b39eddfe1d6a4449fe685R109-R112 did make some changes (kind of violating the signature).
What I Did
Upgrade dependencies:
How I Did it
For helm upgrade
go get helm@v2.15.0
go mod tidy
How to verify it
Description for the Changelog
Picture of a Ship (not required but encouraged)
Flying ship!