Skip to content

Commit 2e0fec6

Browse files
committed
Revise metrics config user roles
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent a8b4f09 commit 2e0fec6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

charts/stash-crds/templates/metrics-user-roles.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
name: appscode:metrics:edit
4+
name: appscode:metrics:admin
55
labels:
66
rbac.authorization.k8s.io/aggregate-to-admin: "true"
7-
rbac.authorization.k8s.io/aggregate-to-edit: "true"
87
annotations:
98
"helm.sh/hook": pre-install,pre-upgrade
109
"helm.sh/hook-delete-policy": before-hook-creation

charts/stash-metrics/templates/metrics-user-roles.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
name: appscode:metrics:edit
4+
name: appscode:metrics:admin
55
labels:
66
rbac.authorization.k8s.io/aggregate-to-admin: "true"
7-
rbac.authorization.k8s.io/aggregate-to-edit: "true"
87
annotations:
98
"helm.sh/hook": pre-install,pre-upgrade
109
"helm.sh/hook-delete-policy": before-hook-creation

0 commit comments

Comments
 (0)