deprecation of `apiextensions.k8s.io/v1beta1`
Summary
with recent kubernetes releases apiextensions.k8s.io/v1beta1
is being deprecated:
W0512 16:11:40.646660 1046431 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Steps to reproduce
- setup recent k8s cluster:
kubectl version
- try to deploy helm chart:
h upgrade cngl . --install --set certmanager-issuer.email=dmakovey@gitlab.com
Configuration used
default
Current behavior
W0512 16:11:40.646660 1046431 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Expected behavior
No warning
Versions
- Chart: 38e5559f (master)
- Platform:
- Self-hosted: K3S (via k3d)
- Kubernetes: (
kubectl version
)- Client:
{Major:"1", Minor:"17+", GitVersion:"v1.17.17-dispatcher", GitCommit:"a39a896b5018d0c800124a36757433c660fd0880", GitTreeState:"clean", BuildDate:"2021-01-28T21:47:26Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
- Server:
{Major:"1", Minor:"20", GitVersion:"v1.20.6+k3s1", GitCommit:"8d0432824a9fd9474b67138b7630c33f285d332f", GitTreeState:"clean", BuildDate:"2021-04-16T19:04:44Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"}
- Client:
- Helm: (
helm version
)- Client: {Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"clean", GoVersion:"go1.15.11"}
Relevant logs
Edited by Dmytro Makovey