-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
Not sure if this is intentional in the StaticResourceController logic, or if I've coded our controller incorrectly, but I am not seeing the resources managed by static resource controllers being deleted when the "cluster" olm object is deleted.
I don't think this is a blocker because:
- We're in TechPreview and don't expect the "cluster" olm object to be deleted in the first place
- NOT deleting the static resources may be intentional to avoid data loss. Our CRDs are managed by the static resource controllers, so it may actually be desirable to keep those around even when the "cluster" olm object is gone.
- Re-creating the "cluster" olm object after a deletion does not seem to cause any problems. The controller finds the existing objects and resumes managing them.
One slightly undesirable thing does happen though. The cluster-olm-operator logs are spammed during resyncs with:
E0626 10:34:38.586824 98752 base_controller.go:268] RukpakStaticResources reconciliation failed: olm.operator.openshift.io "cluster" not found
E0626 10:34:38.586845 98752 base_controller.go:268] CatalogdStaticResources reconciliation failed: olm.operator.openshift.io "cluster" not found
E0626 10:34:38.587920 98752 base_controller.go:268] OperatorControllerStaticResources reconciliation failed: olm.operator.openshift.io "cluster" not found
Metadata
Metadata
Assignees
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.