You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that not all catalogs are globally-scoped. The olm namespace is special -- OLM treats catalogs in this namespace as cluster-scoped for resolution. So one could create a subscription in another namespace for a package in this special namespace. Other namespaces do not behave like this however -- resolution to the catalog is scoped to that single namespace. We are planning to add documentation to address this, and potentially change the design to be more explicit in subsequent versions of OLM.
The special global catalog namespace is also configurable on the olm deployment.
I'm going to close this out now that we have a dedicated issue on the olm-docs repository as it's attached to the v0.19.0 milestone - I followed-up in the PR that Dan had already created that attempts to get the ball rolling on documenting this behavior. We can track updating the documentation there.
Bug Report
What did you do?
deploy my catalogsource in namespace
a
, then deploy operator in namespaceb
, the feedback istargeted catalogsource xxx missing
.What did you expect to see?
operator can be deployed normally.
What did you see instead? Under which circumstances?
Environment
0.17.0
{Major:"1", Minor:"18", GitVersion:"v1.18.15"}
Possible Solution
operator-lifecycle-manager/pkg/controller/operators/catalog/subscription/reconciler.go
Line 80 in 20ded32
Maybe get namespace from
subscription.spec.catalogsrouceNamespace
.The text was updated successfully, but these errors were encountered: