Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/minio] KubeVersion.GitVersion is Deprecated #19242

Closed
kaisawind opened this issue Nov 29, 2019 · 0 comments · Fixed by #19245
Closed

[stable/minio] KubeVersion.GitVersion is Deprecated #19242

kaisawind opened this issue Nov 29, 2019 · 0 comments · Fixed by #19245

Comments

@kaisawind
Copy link

Describe the bug
KubeVersion.GitVersion is deprecated, use KubeVersion.Version.
Many charts need to be changed.
https://github.com/helm/helm/blob/2f4ef705a9e8ea0e38a2c99c29c5e4de59b03d75/pkg/chartutil/capabilities.go#L60

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2" helm.go:76: [debug] unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"

Version of Helm and Kubernetes:

helm version:
version.BuildInfo{Version:"v3.0+unreleased",GitCommit:"8f87900860f7c1474fd07fe9a97fefd31bca7d09", GitTreeState:"clean", GoVersion:"go1.13.4"}

kube version:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3",GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:23:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3",GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:13:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/minio

What happened:
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2" helm.go:76: [debug] unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"

What you expected to happen:
Deployment's version should be set to "apps/v1"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant