-
Story
-
Resolution: Obsolete
-
Major
-
None
-
None
-
2
-
False
-
False
-
OCPPLAN-8037 - OLM UI: Operator first-class experience
-
Undefined
-
With CONSOLE-2202 the user is going to get a warning message when he tries to directly edit a resource managed by an operator (that is going to revert the changes).
The open issue is that the existing feature checks only the ownerReference but, as for https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ ,
Cross-namespace owner references are disallowed by design so an operator running in a namespace cannot set, by design an ownerReference on an object on a different namespace or on a cluster wide created object.
So we should identify a custom mechanism to obtain the same result on objects in different namespaces.
Proposals:
- custom annotation
- k8s recommended labels - https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
- relates to
-
CONSOLE-2808 Warn when modifying managed resources generically
- Closed