Skip to content

Commit

Permalink
fix: as a workaround for getting knative opreator check, set cache (#…
Browse files Browse the repository at this point in the history
…1555)

Signed-off-by: Wen Zhou <[email protected]>
  • Loading branch information
zdtsw authored Jan 23, 2025
1 parent 28d0fa1 commit 871c799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ func main() { //nolint:funlen,maintidx,gocyclo
&rbacv1.RoleBinding{}: {
Namespaces: oDHCache,
},
&ofapiv1alpha1.Subscription{}: {}, // TODO: workaround to get all subs work, without specify it seems it does not cache from all namespaces
&rbacv1.ClusterRole{}: {},
&rbacv1.ClusterRoleBinding{}: {},
&securityv1.SecurityContextConstraints{}: {},
Expand Down

0 comments on commit 871c799

Please sign in to comment.