Skip to content

Commit

Permalink
fix rbac of dashboard
Browse files Browse the repository at this point in the history
Signed-off-by: zwwhdls <[email protected]>
  • Loading branch information
zwwhdls committed Sep 18, 2024
1 parent 4854ef8 commit 8390bd4
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 7 deletions.
10 changes: 9 additions & 1 deletion deploy/k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -50,6 +49,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
10 changes: 9 additions & 1 deletion deploy/k8s_before_v1_18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -50,6 +49,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
10 changes: 9 additions & 1 deletion deploy/kubernetes/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -222,6 +221,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
10 changes: 9 additions & 1 deletion deploy/webhook-with-certmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -40,6 +39,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
10 changes: 9 additions & 1 deletion deploy/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -40,6 +39,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down
20 changes: 18 additions & 2 deletions scripts/juicefs-csi-webhook-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -111,6 +110,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down Expand Up @@ -846,7 +854,6 @@ rules:
- apiGroups:
- ""
resources:
- pods
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
Expand All @@ -855,6 +862,15 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
Expand Down

0 comments on commit 8390bd4

Please sign in to comment.