kubevela / catalog

Catalog of community maintained components and traits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support configurable resource graph for non-owner-reference resources

wonderflow opened this issue · comments

    Hi guys. I found this can only be implemented by built-in velaql way like HelmRelease.

velaql can list all the resource the HelmRelease has because of the helmRelease2AnyListOption func but we cannot pass function or pass dynamic relevant labels through configmap. And a Deployment doesn't have OwnerReferences with its Kustomization so it also cannot be listed through GetOwnerReferences when the ListOption func is missed.

This time we can just add Kustomization type beside the HelmRelease but I think we should find a better way to improve the extendability of configmap way.

@wangyikewxgm @wonderflow @FogDong

Originally posted by @chengleqi in #487 (comment)