Skip to content

Commit

Permalink
chore(rbac) add permission to update kongpluginbindings/status (#743)
Browse files Browse the repository at this point in the history
* add permission to update kongpluginbindings/status

* remove get status permission
  • Loading branch information
randmonkey authored Oct 14, 2024
1 parent 7f5f5de commit 81dc7a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/rbac/role/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ rules:
- kongdataplaneclientcertificates/finalizers
- kongkeys/finalizers
- kongkeysets/finalizers
- kongpluginbindings/status
- kongroutes/finalizers
- kongservices/finalizers
- kongsnis/finalizers
Expand Down
1 change: 1 addition & 0 deletions controller/konnect/reconciler_kongplugin_rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ package konnect
//+kubebuilder:rbac:groups=configuration.konghq.com,resources=kongservices,verbs=get;list;watch;update;patch
//+kubebuilder:rbac:groups=configuration.konghq.com,resources=kongroutes,verbs=get;list;watch;update;patch
//+kubebuilder:rbac:groups=configuration.konghq.com,resources=kongpluginbindings,verbs=get;list;create;watch;update;patch;delete
//+kubebuilder:rbac:groups=configuration.konghq.com,resources=kongpluginbindings/status,verbs=update;patch

0 comments on commit 81dc7a4

Please sign in to comment.