-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
Undefined
-
-
Sprint 2, Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7
MEC currently creates Image Streams but never remove them - e.g., when the last ServiceMeshExtension resource that references an image stream is removed.
If the ImageStream is in the same namespace as the SME, then adding an OwnerReference should suffice. If not, I'm not sure what the correct solution is. I don't think adding a finalizer and having istiod manage cleanup is the correct approach, as if istiod is deleted (e.g. uninstall), it could cause deletion of namespaces to hang, while waiting for the finalizers to be released.