Skip to content

Commit

Permalink
Merge pull request #1147 from rbaturov/narrow-service-permissions-4.18
Browse files Browse the repository at this point in the history
Remove cluster role service RBAC permission leftover
openshift-merge-bot[bot] authored Jan 9, 2025

Verified

This commit was signed with the committer’s verified signature.
sourabhxyz Sourabh
2 parents 7a2abe5 + 52be463 commit 1ef00bc
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2025-01-07T08:34:09Z"
createdAt: "2025-01-09T10:45:35Z"
olm.skipRange: '>=4.17.0 <4.18.0'
operatorframework.io/cluster-monitoring: "true"
operators.operatorframework.io/builder: operator-sdk-v1.36.1
@@ -359,7 +359,6 @@ spec:
resources:
- configmaps
- serviceaccounts
- services
verbs:
- '*'
- apiGroups:
1 change: 0 additions & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@ rules:
resources:
- configmaps
- serviceaccounts
- services
verbs:
- '*'
- apiGroups:
1 change: 0 additions & 1 deletion controllers/numaresourcesoperator_controller.go
Original file line number Diff line number Diff line change
@@ -117,7 +117,6 @@ type NUMAResourcesOperatorReconciler struct {
//+kubebuilder:rbac:groups=nodetopology.openshift.io,resources=numaresourcesoperators,verbs=*
//+kubebuilder:rbac:groups=nodetopology.openshift.io,resources=numaresourcesoperators/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=nodetopology.openshift.io,resources=numaresourcesoperators/finalizers,verbs=update
//+kubebuilder:rbac:groups="",resources=services,verbs=*

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

0 comments on commit 1ef00bc

Please sign in to comment.