From 304e00b8a989d77f5b2e3ede88081dffc44d7548 Mon Sep 17 00:00:00 2001 From: Guy Maliar Date: Wed, 25 Aug 2021 12:51:29 +0300 Subject: [PATCH] change RoleBinding API to rbac.authorization.k8s.io/v1 --- helm/prefect-server/templates/agent/rbac.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/prefect-server/templates/agent/rbac.yaml b/helm/prefect-server/templates/agent/rbac.yaml index 7ccb2280..32c21265 100644 --- a/helm/prefect-server/templates/agent/rbac.yaml +++ b/helm/prefect-server/templates/agent/rbac.yaml @@ -34,7 +34,7 @@ rules: verbs: - '*' --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ include "prefect-server.nameField" (merge (dict "component" "agent-role-binding") .) }} @@ -51,4 +51,4 @@ roleRef: subjects: - kind: ServiceAccount name: {{ include "prefect-server.serviceAccountName" . }} -{{- end -}} \ No newline at end of file +{{- end -}}