Skip to content

Commit

Permalink
fix(operator): missing deletecollection access on benthosstreams (#1249)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Feb 15, 2024
1 parent 8836673 commit ef15ab0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ rules:
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ rules:
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"k8s.io/apimachinery/pkg/types"
)

//+kubebuilder:rbac:groups=formance.com,resources=benthosstreams,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=formance.com,resources=benthosstreams,verbs=get;list;watch;create;update;patch;delete;deletecollection
//+kubebuilder:rbac:groups=formance.com,resources=benthosstreams/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=formance.com,resources=benthosstreams/finalizers,verbs=update

Expand Down

0 comments on commit ef15ab0

Please sign in to comment.