From 5b6bdb04ebcbfbf5b1c1648dc1b7c7e768def36b Mon Sep 17 00:00:00 2001 From: Francisc Munteanu Date: Tue, 5 Mar 2024 10:14:31 +0100 Subject: [PATCH] rename ClusterRole and CRB --- deploy/toolchaincluster/member-sa.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/toolchaincluster/member-sa.yaml b/deploy/toolchaincluster/member-sa.yaml index ae2a7b0b..0666b419 100644 --- a/deploy/toolchaincluster/member-sa.yaml +++ b/deploy/toolchaincluster/member-sa.yaml @@ -15,7 +15,7 @@ rules: kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: toolchaincluster-member-{{.Namespace}}-toolchaincluster + name: toolchaincluster-{{.Namespace}} rules: - apiGroups: - authentication.k8s.io @@ -93,12 +93,12 @@ rules: kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: toolchaincluster-member-{{.Namespace}}-toolchaincluster + name: toolchaincluster-{{.Namespace}} subjects: - kind: ServiceAccount name: toolchaincluster-member namespace: {{.Namespace}} roleRef: kind: ClusterRole - name: toolchaincluster-member-{{.Namespace}}-toolchaincluster + name: toolchaincluster-{{.Namespace}} apiGroup: rbac.authorization.k8s.io \ No newline at end of file