no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"
Solution
Use version rbac.authorization.k8s.io/v1 instead of rbac.authorization.k8s.io/v1beta1 for ClusterRole and ClusterRolebinding resources.
Full Error Log
Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "wave-wave" namespace: "" from "": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "wave-wave" namespace: "" from "": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first]
helm.go:84: [debug] [resource mapping not found for name: "wave-wave" namespace: "" from "": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "wave-wave" namespace: "" from "": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first]
unable to build kubernetes objects from release manifest
I tried to install wave with the following
helm
(v3) command:Issue
The Helm chart installation fails with message:
ClusterRoleBinding
" in version "rbac.authorization.k8s.io/v1beta1
"ClusterRole
" in version "rbac.authorization.k8s.io/v1beta1
"Solution
Use version
rbac.authorization.k8s.io/v1
instead ofrbac.authorization.k8s.io/v1beta1
forClusterRole
andClusterRolebinding
resources.Full Error Log
Versions:
v2.0.0
v3.9.0
v1.23.6+k3s1
v1.24.1