Closed pablofilgueira91 closed 4 weeks ago
A cluster scoped resource cannot have a namespace scoped resource as owner. Even if you try to add it to ownerreferences, argo will ignore it.
The only way to display XR created by a claim in argo UI is to use annotation (see https://argo-cd.readthedocs.io/en/stable/user-guide/resource_tracking/#non-self-referencing-annotations)
A cluster scoped resource cannot have a namespace scoped resource as owner. Even if you try to add it to ownerreferences, argo will ignore it.
The only way to display XR created by a claim in argo UI is to use annotation (see https://argo-cd.readthedocs.io/en/stable/user-guide/resource_tracking/#non-self-referencing-annotations)
Yes, of course, I know. I am using the application.resourceTrackingMethod annotation but argocd shows it this way. Is there a way for Argo to show that the XR and the claim are linked? It would be a way for argocd to recognize the claimref but I don't know if that will be possible.
It is indeed not possible to customize how argo "link" resources, it can only use ownerreferences to create the linking in UI, so in this case it is impossible to link a namespaced claim to a cluster scoped XR.
hello, I followed this documentation but it didn’t work for me URL: https://docs.crossplane.io/latest/guides/crossplane-with-argo-cd/ I am trying to use crossplane with argocd, but it does not correctly show me the relationship between the claim (azresourcegroup) and the XR (xazresourcegroup). If it correctly shows the relationship between the MR (resourcegroup) and the XR (xazresourcegroup) I suppose it is because the XR does not have ownerreference to the claim since it uses claimref and argocd should not understand it And the MR does have an owner reference to the XR This is how I graph it in argocd and this is how I should graph it
this is de claim
the XR
and the MR
argocd version: 5.50.1 crossplane version: 1.15.2