From 0cda9df33a593952f34abb2964ba65dd94b8f38d Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Mon, 24 May 2021 11:15:07 -0700 Subject: [PATCH] update rbac to to v1 --- templates/addons/windows/flannel.yaml | 4 ++-- .../test/ci/cluster-template-prow-ci-version-windows.yaml | 4 ++-- .../test/ci/cluster-template-prow-machine-pool-windows.yaml | 4 ++-- templates/test/ci/cluster-template-prow-windows.yaml | 4 ++-- .../test/dev/cluster-template-custom-builds-windows.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/addons/windows/flannel.yaml b/templates/addons/windows/flannel.yaml index 729d3ce9afc..6edb9f0e314 100644 --- a/templates/addons/windows/flannel.yaml +++ b/templates/addons/windows/flannel.yaml @@ -47,7 +47,7 @@ spec: rule: 'RunAsAny' --- kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel rules: @@ -76,7 +76,7 @@ rules: - patch --- kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel roleRef: diff --git a/templates/test/ci/cluster-template-prow-ci-version-windows.yaml b/templates/test/ci/cluster-template-prow-ci-version-windows.yaml index 3e3700c72aa..ae402d2c66a 100644 --- a/templates/test/ci/cluster-template-prow-ci-version-windows.yaml +++ b/templates/test/ci/cluster-template-prow-ci-version-windows.yaml @@ -558,7 +558,7 @@ data: rule: 'RunAsAny' --- kind: ClusterRole - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel rules: @@ -587,7 +587,7 @@ data: - patch --- kind: ClusterRoleBinding - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel roleRef: diff --git a/templates/test/ci/cluster-template-prow-machine-pool-windows.yaml b/templates/test/ci/cluster-template-prow-machine-pool-windows.yaml index 3670fcd1c41..8a8498ad416 100644 --- a/templates/test/ci/cluster-template-prow-machine-pool-windows.yaml +++ b/templates/test/ci/cluster-template-prow-machine-pool-windows.yaml @@ -380,7 +380,7 @@ data: rule: 'RunAsAny' --- kind: ClusterRole - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel rules: @@ -409,7 +409,7 @@ data: - patch --- kind: ClusterRoleBinding - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel roleRef: diff --git a/templates/test/ci/cluster-template-prow-windows.yaml b/templates/test/ci/cluster-template-prow-windows.yaml index 950689a3dd9..8b643e43d66 100644 --- a/templates/test/ci/cluster-template-prow-windows.yaml +++ b/templates/test/ci/cluster-template-prow-windows.yaml @@ -388,7 +388,7 @@ data: rule: 'RunAsAny' --- kind: ClusterRole - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel rules: @@ -417,7 +417,7 @@ data: - patch --- kind: ClusterRoleBinding - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel roleRef: diff --git a/templates/test/dev/cluster-template-custom-builds-windows.yaml b/templates/test/dev/cluster-template-custom-builds-windows.yaml index 8ffb6957fbe..a27440bec42 100644 --- a/templates/test/dev/cluster-template-custom-builds-windows.yaml +++ b/templates/test/dev/cluster-template-custom-builds-windows.yaml @@ -476,7 +476,7 @@ data: rule: 'RunAsAny' --- kind: ClusterRole - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel rules: @@ -505,7 +505,7 @@ data: - patch --- kind: ClusterRoleBinding - apiVersion: rbac.authorization.k8s.io/v1beta1 + apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flannel roleRef: