Skip to content

Commit

Permalink
Merge pull request #8833 from ashangit/purge_missing_rights
Browse files Browse the repository at this point in the history
ceph: add missing rights rook-ceph-purge-osd account
  • Loading branch information
satoru-takeuchi committed Sep 28, 2021
2 parents 15fd707 + 5150018 commit 3d4acd1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cluster/charts/rook-ceph-cluster/templates/role.yaml
Expand Up @@ -82,7 +82,7 @@ rules:
verbs: ["get", "list", "delete" ]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["delete"]
verbs: ["get", "update", "delete"]

{{- if .Values.monitoring.enabled }}
---
Expand Down
2 changes: 1 addition & 1 deletion cluster/charts/rook-ceph/templates/role.yaml
Expand Up @@ -188,5 +188,5 @@ rules:
verbs: ["get", "list", "delete" ]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["delete"]
verbs: ["get", "update", "delete"]
{{- end }}
Expand Up @@ -145,7 +145,7 @@ rules:
verbs: ["get", "list", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["delete"]
verbs: ["get", "update", "delete"]
---
# Allow the osd purge job to run in this namespace
kind: RoleBinding
Expand Down
2 changes: 1 addition & 1 deletion cluster/examples/kubernetes/ceph/common.yaml
Expand Up @@ -1195,7 +1195,7 @@ rules:
verbs: ["get", "list", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["delete"]
verbs: ["get", "update", "delete"]
---
# Allow the osd purge job to run in this namespace
kind: RoleBinding
Expand Down

0 comments on commit 3d4acd1

Please sign in to comment.