Skip to content

Commit 39c893c

Browse files
authored
Remove catalogmetadata resource from RBAC (#1204)
This resource no longer exists in OLMv1 Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent f4ea259 commit 39c893c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

config/base/rbac/role.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ rules:
1919
- apiGroups:
2020
- olm.operatorframework.io
2121
resources:
22-
- catalogmetadata
2322
- clustercatalogs
2423
verbs:
2524
- list

internal/controllers/clusterextension_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ type InstalledBundleGetter interface {
8686
//+kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get
8787

8888
//+kubebuilder:rbac:groups=olm.operatorframework.io,resources=clustercatalogs,verbs=list;watch
89-
//+kubebuilder:rbac:groups=olm.operatorframework.io,resources=catalogmetadata,verbs=list;watch
9089

9190
// The operator controller needs to watch all the bundle objects and reconcile accordingly. Though not ideal, but these permissions are required.
9291
// This has been taken from rukpak, and an issue was created before to discuss it: https://github.com/operator-framework/rukpak/issues/800.

0 commit comments

Comments
 (0)