crossplane-contrib / provider-helm

Crossplane Helm Provider
Apache License 2.0
102 stars 65 forks source link

Establish Ownership and Visibility of Helm Resources in ArgoCD via OwnerReferences #188

Open perlinger opened 1 year ago

perlinger commented 1 year ago

What problem are you facing?

ArgoCD does not display Helm resources installed through Kind: Release.

How could Crossplane help solve your problem?

Add OwnerReferences. Adding OwnerReferences is necessary to link resources installed via Kind: Release to their respective owning resources. By doing so, the ownership relationship can be established, and the Helm resources should become visible in ArgoCD.

bobh66 commented 1 year ago

This is possible for Release objects that deploy within the same cluster that Crossplane/provider-helm are running in, but cross-cluster ownerReferences are not supported by Kubernetes, so it wouldn't work for any Release object that is deploying into a remote cluster. I suspect that the majority of use cases for provider-helm deploy into a remote cluster (I know they are in our deployments). provider-kubernetes has similar use cases and limitations on ownerReferences.

nu-vi commented 1 year ago

+1 This would be a nice feature to have, despite the cross-cluster limitations