Skip to content

Commit

Permalink
Add missing RBAC for oauth-proxy ClusterRoleBinding
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti authored and openshift-merge-bot[bot] committed Apr 3, 2024
1 parent 2f100af commit 22d75f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ rules:
- get
- patch
- update
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
verbs:
- delete
- get
- patch
- apiGroups:
- route.openshift.io
resources:
Expand Down
1 change: 1 addition & 0 deletions pkg/controllers/raycluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ var (
// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;create;patch;delete;get
// +kubebuilder:rbac:groups=core,resources=services,verbs=patch;delete;get
// +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=patch;delete;get
// +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterrolebindings,verbs=patch;delete;get

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
Expand Down

0 comments on commit 22d75f6

Please sign in to comment.