Reputation: 141
root@vsr-kub005:~# kubectl apply -f gitlab-admin-service-account.yaml
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+;
What will happen if I apply v1 instead of v1beta1?
Upvotes: 1
Views: 10703
Reputation: 13566
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+;
The warning is self-explanatory. In API rbac.authorization.k8s.io/v1beta1
the ClusterRoleBinding
object is deprecated and you won't able to use it in k8s version v1.22+
.
The API v1
is the stable version and you should always use the stable one if possible.
Upvotes: 4