<pre><code>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+;
</code></pre>
<p>What will happen if I apply v1 instead of v1beta1?</p>

Meshu Deb Nath
<blockquote>
<p>Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+;</p>
</blockquote>
<p>The warning is self-explanatory. In API <code>rbac.authorization.k8s.io/v1beta1</code> the <code>ClusterRoleBinding</code> object is deprecated and you won't able to use it in k8s version <code>v1.22+</code>.</p>
<p>The API <code>v1</code> is the stable version and you should always use the stable one if possible.</p>
