From d624c5eaa14dbaa9ee2d0fd7888d7aeff2a4023c Mon Sep 17 00:00:00 2001 From: shivkumar dudhani Date: Thu, 20 Feb 2020 11:08:44 -0800 Subject: [PATCH] upgrade apiVersion for ClusterRole,ClusterRoleBindings --- definitions/install.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/definitions/install.yaml b/definitions/install.yaml index f90506cd76..d04e67ea1a 100644 --- a/definitions/install.yaml +++ b/definitions/install.yaml @@ -470,7 +470,7 @@ metadata: namespace: kyverno --- kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: kyverno:webhook roleRef: @@ -483,7 +483,7 @@ subjects: namespace: kyverno --- kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: kyverno:userinfo roleRef: @@ -496,7 +496,7 @@ subjects: namespace: kyverno --- kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: kyverno:customresources roleRef: @@ -509,7 +509,7 @@ subjects: namespace: kyverno --- kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: kyverno:policycontroller roleRef: @@ -522,7 +522,7 @@ subjects: namespace: kyverno --- kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: kyverno:generatecontroller roleRef: @@ -534,7 +534,7 @@ subjects: name: kyverno-service-account namespace: kyverno --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kyverno:webhook @@ -557,7 +557,7 @@ rules: - update - watch --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kyverno:userinfo @@ -572,7 +572,7 @@ rules: verbs: - watch --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kyverno:customresources @@ -598,7 +598,7 @@ rules: - update - watch --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kyverno:policycontroller @@ -612,7 +612,7 @@ rules: - get - list --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: kyverno:generatecontroller