Skip to content

Commit 15fbeb9

Browse files
committed
fix: sharded dbops/backup do not cleanup previous dbops/backup when retrying
1 parent 2e3e962 commit 15fbeb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/factory/shardeddbops

stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/factory/shardeddbops/ShardedDbOpsRole.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private Role createRole(StackGresShardedDbOpsContext context) {
136136
.addToRules(new PolicyRuleBuilder()
137137
.withApiGroups(CommonDefinition.GROUP)
138138
.withResources(HasMetadata.getPlural(StackGresDbOps.class))
139-
.withVerbs("get", "list", "watch", "create", "patch", "update")
139+
.withVerbs("get", "list", "watch", "create", "patch", "update", "delete")
140140
.build())
141141
.addToRules(new PolicyRuleBuilder()
142142
.withApiGroups(CommonDefinition.GROUP)

0 commit comments

Comments
 (0)