Details
-
Story
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
False
-
False
-
undefined
Description
Currently we observe the following behaviour.
1. Create a bunch of OSSM-specific resources in a namespace which is NOT a part of any SMMR
2. Join that namespace into a SMMR
3. If some resource created at (1) contains an error, such resource is not rejected by OSSM validation webhook and may break Service Mesh operation.
4. If we delete such resources from a namespace and try to add them again after namespace joined to SMMR, those resources are not admitted by operator.
So, I propose to add resource validation upon adding namespace to SMMR, to eliminate described behavior.