Skip to content

Commit

Permalink
Adding pv get permission.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed Oct 27, 2023
1 parent f7c6e1f commit f87b365
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ rules:
- ""
resources:
- secrets
- persistentvolumes
verbs:
- get
- apiGroups:
Expand Down
1 change: 1 addition & 0 deletions controllers/aerospikecluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ type RackState struct {
// +kubebuilder:rbac:groups=core,resources=pods/exec,verbs=create
// +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=persistentvolumeclaims,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=persistentvolumes,verbs=get
// +kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=configmaps,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ rules:
- ""
resources:
- secrets
- persistentvolumes
verbs:
- get
- apiGroups:
Expand Down

0 comments on commit f87b365

Please sign in to comment.