Skip to content

Commit 0ed92ed

Browse files
kimxogusJan-M
authored andcommitted
add deletecollection verb (zalando#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.
1 parent 6918394 commit 0ed92ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/postgres-operator/templates/clusterrole.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ rules:
4343
verbs:
4444
- create
4545
- delete
46+
- deletecollection
4647
- get
4748
- list
4849
- patch

manifests/operator-service-account-rbac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ rules:
4040
verbs:
4141
- create
4242
- delete
43+
- deletecollection
4344
- get
4445
- list
4546
- patch

0 commit comments

Comments
 (0)