Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions config/rbac-hub/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@ rules:
- list
- patch
- watch
- apiGroups:
- shipwright.io
resources:
- buildruns
verbs:
- create
- delete
- list
- patch
- watch
- apiGroups:
- work.open-cluster-management.io
resources:
Expand Down
11 changes: 0 additions & 11 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,3 @@ rules:
- patch
- update
- watch
- apiGroups:
- shipwright.io
resources:
- buildruns
verbs:
- create
- delete
- get
- list
- patch
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ type ManagedClusterModuleReconciler struct {
//+kubebuilder:rbac:groups=kmm.sigs.x-k8s.io,resources=modulebuildsignconfigs/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=work.open-cluster-management.io,resources=manifestworks,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=cluster.open-cluster-management.io,resources=managedclusters,verbs=get;list;watch
//+kubebuilder:rbac:groups=shipwright.io,resources=buildruns,verbs=list;watch;create;patch;delete
//+kubebuilder:rbac:groups=core,resources=pods,verbs=create;delete;list;patch;watch
//+kubebuilder:rbac:groups="core",resources=secrets,verbs=get;list;watch
//+kubebuilder:rbac:groups="core",resources=configmaps,verbs=get;list;watch
Expand Down
1 change: 0 additions & 1 deletion internal/controllers/module_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
//+kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=create;delete;get;list;patch;watch
//+kubebuilder:rbac:groups=cluster.open-cluster-management.io,resources=clusterclaims,resourceNames=kernel-versions.kmm.node.kubernetes.io,verbs=delete;patch;update
//+kubebuilder:rbac:groups=cluster.open-cluster-management.io,resources=clusterclaims,verbs=create;get;list;watch
//+kubebuilder:rbac:groups=shipwright.io,resources=buildruns,verbs=get;list;watch;create;patch;delete
//+kubebuilder:rbac:groups=core,resources=configmaps,verbs=get;list;watch
//+kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;list;patch;watch
//+kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch;patch
Expand Down