From 07d7df75b438576e3e406705196b83bb178d2470 Mon Sep 17 00:00:00 2001 From: Muhammad Ghiyast Farisi Date: Wed, 5 Oct 2022 20:29:58 +0700 Subject: [PATCH] fix: update rbac apiVersion --- examples/kubernetes/role-binding.yaml | 2 +- examples/kubernetes/role.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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