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
Not sure how to deal with this one.. My high level thought is that we might want to reject resourcegroups that are namespace scoped and contain cluster-scoped resources. Or maybe warn the user that the tracking via ownerrefrerences might not work as expected...
Not having support for cluster scoped resources. I am fairly confident that we will get a feature request for this. Being able to stitch together cluster scoped resources and namespace scoped resources is quite nice to have. For example, creating ESO ClusterSecretStore along with ConfigMaps / Secrets to offer a cluster wide secret gateway.
Broken owner references are not ideal imo. Many tools use the field to figure out what owns what. Technically speaking, what Symphony is doing is not within spec. We could just not add owner references at all for cluster scoped resources, but some people may have issues with that.
We could offer cluster version of RG. This does solve this issue, but is it a good user experience? I'm not sure tbh.
Related to #44
If you create a RG with cluster resources, the owner references cannot point to the correct instance of RG.
RG:
instance
ClusterRole created:
This is incorrect because the DeploymentServiceTest object is in the ns1 namespace.
The namespace field does not exist on the struct because k8s does not allow namespaced objects owning cluster objects.
https://github.com/kubernetes/apimachinery/blob/c463db196543ee48d2353c6ca3325de6454ad075/pkg/apis/meta/v1/types.go#L291-L320
The ownership relationship is lost and tools like argocd / lineage cannot make sense of these resources.
The text was updated successfully, but these errors were encountered: