Skip to content

Commit

Permalink
Rename ClusterRole from prometheus to prometheus-volcano
Browse files Browse the repository at this point in the history
Signed-off-by: SimonYang-CS <simon@limx8.com>
  • Loading branch information
SimonYang-CS committed Apr 20, 2022
1 parent 657a0b8 commit d3973cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer/helm/chart/volcano/templates/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: prometheus
name: prometheus-volcano
rules:
- apiGroups: [""]
resources:
Expand All @@ -23,11 +23,11 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: prometheus
name: prometheus-volcano
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: prometheus
name: prometheus-volcano
subjects:
- kind: ServiceAccount
name: default
Expand Down

0 comments on commit d3973cf

Please sign in to comment.