add deletecollection verb (#589)

Fixing privileges to execute `patronictl remove`.

You could/should have also just used the operator delete cluster flow (remove manifest). It is not really the plan to use patroni inside a pod to remove a existing cluster.
This commit is contained in:
Taehyun Kim 2019-06-19 17:47:27 +09:00 committed by Jan Mussler
parent 6918394562
commit 0ed92ed04e
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ rules:
verbs: verbs:
- create - create
- delete - delete
- deletecollection
- get - get
- list - list
- patch - patch

View File

@ -40,6 +40,7 @@ rules:
verbs: verbs:
- create - create
- delete - delete
- deletecollection
- get - get
- list - list
- patch - patch