Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions charts/juicefs-cache-group-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,18 @@ rules:
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- patch
- update
- list
- watch
{{- end }}
Expand Down
18 changes: 17 additions & 1 deletion charts/juicefs-csi-driver/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ rules:
verbs:
- get
- update
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down Expand Up @@ -318,7 +324,6 @@ rules:
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
- nodes
verbs:
- get
- list
Expand Down Expand Up @@ -408,6 +413,7 @@ rules:
verbs:
- list
- get
- watch
- apiGroups:
- juicefs.io
resources:
Expand All @@ -420,6 +426,16 @@ rules:
- create
- delete
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- patch
- update
- list
- watch
{{- if .Values.dashboard.leaderElection.enabled }}
- apiGroups:
- coordination.k8s.io
Expand Down
Loading