Skip to content

Commit

Permalink
allow hostpath provisioner to delete persistent volumes when RBAC is …
Browse files Browse the repository at this point in the history
…enabled (#567)

When RBAC has been enabled under v1.15.1, persistent volumes can be created using persistentvolumeclaims.

However after the persistentvolumeclaim is deleted, hostpath provisioner deletes the backing store, but fails to delete the persistent volume due to a 'forbidden' error, e.g.

Adding the `delete` verb to the ClusterRole for persistentvolumes.
  • Loading branch information
bkc authored and ktsakalozos committed Jul 31, 2019
1 parent c0dd407 commit a6d6564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions microk8s-resources/actions/storage.yaml
Expand Up @@ -73,6 +73,7 @@ rules:
- update
- watch
- create
- delete
- apiGroups: [""]
resources:
- events
Expand Down

0 comments on commit a6d6564

Please sign in to comment.