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
I have noticed that if you subscribe to an operator that depends on another operator. A Subscription will be generated for you but is not removed when the "parent" Subscription is deleted.
Recreation Steps:
Check out this silly made up olm-catalog that has two operators, one channel for each (alpha), and one version for each v0.0.1. Build and push the operator-registry image.
Create a CatalogSource pointing at this image
Subscribe to example-operator-a
See that a subscription to example-operator-b is generated (ie. example-operator-b-stable-scenario3-openshift-operator-lifecycle-manager)
Remove the Subscription to example-operator-a (leaving "Also completely remove the Operator from the selected namespace." checked)
What I expected to happen:
The subscription to example-operator-a and the generated subscription to be removed
What happened:
only the subscription to example-operator-a is removed
Edit History
On the first go I submitted the issue before properly formatting.
The text was updated successfully, but these errors were encountered:
This is intentional behavior - just because an operator was installed because it was a dependency, doesn't mean there are no other consumers of that operator's apis.
Closing for now, please re-open if you feel there's more discussion to be had 😄
Introduction:
I have noticed that if you subscribe to an operator that depends on another operator. A
Subscription
will be generated for you but is not removed when the "parent"Subscription
is deleted.Recreation Steps:
alpha
), and one version for eachv0.0.1
. Build and push the operator-registry image.CatalogSource
pointing at this imageexample-operator-a
example-operator-b
is generated (ie.example-operator-b-stable-scenario3-openshift-operator-lifecycle-manager
)Subscription
toexample-operator-a
(leaving "Also completely remove the Operator from the selected namespace." checked)What I expected to happen:
The subscription to
example-operator-a
and the generated subscription to be removedWhat happened:
only the subscription to
example-operator-a
is removedEdit History
The text was updated successfully, but these errors were encountered: