Skip to content

Commit

Permalink
Try RBAC fix
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Jun 28, 2024
1 parent 29ab25c commit 2389729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ rules:
- list
- watch
- apiGroups:
- storage
- ""
- storage.k8s.io
resources:
- storageclasses
verbs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var (
// +kubebuilder:rbac:groups=core,namespace=cass-operator,resources=pods;endpoints;services;configmaps;secrets;persistentvolumeclaims;events,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,namespace=cass-operator,resources=namespaces,verbs=get
// +kubebuilder:rbac:groups=core,resources=persistentvolumes;nodes,verbs=get;list;watch
// +kubebuilder:rbac:groups=storage,resources=storageclasses,verbs=get;list;watch
// +kubebuilder:rbac:groups=storage.k8s.io;core,resources=storageclasses,verbs=get;list;watch
// +kubebuilder:rbac:groups=policy,namespace=cass-operator,resources=poddisruptionbudgets,verbs=get;list;watch;create;update;patch;delete

// CassandraDatacenterReconciler reconciles a cassandraDatacenter object
Expand Down

0 comments on commit 2389729

Please sign in to comment.