From 2a2abbf0f2160d09f3043f888cc1029a644bebc3 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Tue, 26 Feb 2019 17:37:48 -0500 Subject: [PATCH] Switching to rbac v1 (#663) Signed-off-by: Serguei Bezverkhi --- serving/samples/telemetry-go/prometheus-test.yaml | 6 +++--- serving/using-external-dns-on-gcp.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/serving/samples/telemetry-go/prometheus-test.yaml b/serving/samples/telemetry-go/prometheus-test.yaml index a22b522e5..eac9694a3 100644 --- a/serving/samples/telemetry-go/prometheus-test.yaml +++ b/serving/samples/telemetry-go/prometheus-test.yaml @@ -17,7 +17,7 @@ kind: ServiceAccount metadata: name: prometheus-test --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: prometheus-test @@ -36,7 +36,7 @@ rules: - nonResourceURLs: ["/metrics"] verbs: ["get"] --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: prometheus-test @@ -119,4 +119,4 @@ spec: name: prometheus-test-scrape-config - name: prometheus-storage-volume - emptyDir: {} \ No newline at end of file + emptyDir: {} diff --git a/serving/using-external-dns-on-gcp.md b/serving/using-external-dns-on-gcp.md index 295860284..f4c09f484 100644 --- a/serving/using-external-dns-on-gcp.md +++ b/serving/using-external-dns-on-gcp.md @@ -213,7 +213,7 @@ kind: ServiceAccount metadata: name: external-dns --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: external-dns @@ -231,7 +231,7 @@ rules: resources: ["nodes"] verbs: ["list"] --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: external-dns-viewer @@ -279,7 +279,7 @@ kind: ServiceAccount metadata: name: external-dns --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: external-dns @@ -297,7 +297,7 @@ rules: resources: ["nodes"] verbs: ["list"] --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: external-dns-viewer