Code Monkey home page Code Monkey logo

Comments (5)

chengleqi avatar chengleqi commented on June 30, 2024 1

I see. The HelmRelease type resource are built-in velaql .
I'd better put the kustomize rule in configmap and let vela merge it.

from catalog.

chengleqi avatar chengleqi commented on June 30, 2024 1

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

from catalog.

wangyikewxgm avatar wangyikewxgm commented on June 30, 2024

The reason is there is a built-in topology-rule of helmRelease and it's sub-resources. Are you interested in contributing to solve this issue by adding a topology-rule for kutomize. Here are some related docs: https://kubevela.net/docs/platform-engineers/addon/addon-cue#auxiliary-resources , https://kubevela.net/docs/reference/topology-rule.

from catalog.

chengleqi avatar chengleqi commented on June 30, 2024

Thanks. I'd like to tackle this one.
/assign

from catalog.

wonderflow avatar wonderflow commented on June 30, 2024

pass dynamic relevant labels through configmap

This could be potential solution for extensibility.

from catalog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.