Skip to content

Commit

Permalink
Merge pull request #109 from nb-ohad/rbac-fix
Browse files Browse the repository at this point in the history
ClientProfile Controller: add missing CephConnection delete RBAC
  • Loading branch information
Madhu-1 authored Aug 8, 2024
2 parents deb792a + dbe3397 commit 1efdddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ rules:
resources:
- cephconnections
verbs:
- delete
- get
- list
- update
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/clientprofile_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
//+kubebuilder:rbac:groups=csi.ceph.io,resources=clientprofiles,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=csi.ceph.io,resources=clientprofiles/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=csi.ceph.io,resources=clientprofiles/finalizers,verbs=update
//+kubebuilder:rbac:groups=csi.ceph.io,resources=cephconnections,verbs=get;list;watch;update
//+kubebuilder:rbac:groups=csi.ceph.io,resources=cephconnections,verbs=get;list;watch;update;delete
//+kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch;create;update;patch;delete

// ClientProfileReconciler reconciles a ClientProfile object
Expand Down

0 comments on commit 1efdddd

Please sign in to comment.