Kubernetes 1.17 deprecated APIs
Kubernetes 1.17 removed nothing, but it deprecated the v1beta1 RBAC APIs: Role, ClusterRole, RoleBinding and ClusterRoleBinding, along with CSINode. They kept working until 1.22. rbac.authorization.k8s.io/v1 had been available since 1.8, and moving to it is a change to the apiVersion line.
Check a manifest against 1.17.
Deprecated in 1.17
These still work in 1.17. Each kind links to its migration steps.
- ClusterRole
rbac.authorization.k8s.io/v1beta1: removed in 1.22 - ClusterRoleBinding
rbac.authorization.k8s.io/v1beta1: removed in 1.22 - CSINode
storage.k8s.io/v1beta1: removed in 1.22 - Role
rbac.authorization.k8s.io/v1beta1: removed in 1.22 - RoleBinding
rbac.authorization.k8s.io/v1beta1: removed in 1.22
The official migration guide covers the APIs it lists for each release. See every version with API removals.