diff --git a/examples/kubernetes/role-binding.yaml b/examples/kubernetes/role-binding.yaml index e779eaa25..fdafd56f1 100644 --- a/examples/kubernetes/role-binding.yaml +++ b/examples/kubernetes/role-binding.yaml @@ -1,4 +1,4 @@ -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: stolon diff --git a/examples/kubernetes/role.yaml b/examples/kubernetes/role.yaml index b65491255..11c4e3294 100644 --- a/examples/kubernetes/role.yaml +++ b/examples/kubernetes/role.yaml @@ -6,7 +6,7 @@ # sentinel/stolonctl: list components pods # sentinel/stolonctl: get components pods annotations -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: stolon