Coder Social home page Coder Social logo

Comments (10)

drewwells avatar drewwells commented on August 22, 2024 1

In layman's, you can read this https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-2-separate-charts

from helm-charts.

kfox1111 avatar kfox1111 commented on August 22, 2024

I usually helm install with the skip crds flag, and then load it from raw yaml. Would that work?

from helm-charts.

drewwells avatar drewwells commented on August 22, 2024

Unfortunately, our CICD system would not be able to do this. We need a helm install --only-crds so helm template --validate does not fail.
We normally break out CRDs into a separate chart like cert-manager does. I think the best option is to have federation CRs as examples or a separate chart. Right now I disable the CRs with spire-server.controllerManager.identities.enabled=false then install them in a separate chart internally.

from helm-charts.

kfox1111 avatar kfox1111 commented on August 22, 2024

This is related to #411 as well.

from helm-charts.

faisal-memon avatar faisal-memon commented on August 22, 2024

@drewwells thanks for bringing this up. We definitely need to revisit how controller manager is integrated. Im not super familiiar with how cert manager works. Would that model work here?

from helm-charts.

kfox1111 avatar kfox1111 commented on August 22, 2024

No, its a CRD + CR issue not a Certificate issue. CRD management with helm has always been... problematic.

Some of the gory details are outlined in hip 11. https://github.com/helm/community/blob/main/hips/hip-0011.md

from helm-charts.

kfox1111 avatar kfox1111 commented on August 22, 2024

Hmm... If we moved it to a separate chart, we could conditionally embed it, and have it standalone. Then folks could use it either way.

from helm-charts.

faisal-memon avatar faisal-memon commented on August 22, 2024

@drewwells Plan we came up with is to create a sub chart with the crd and convert it to a template. Then eventually move it to a separate root level chart. Would appreciate your thoughts on this plan.

from helm-charts.

drewwells avatar drewwells commented on August 22, 2024

As long as we can install it as if it were a chart with only crds in it, then that will work fine.

from helm-charts.

kfox1111 avatar kfox1111 commented on August 22, 2024

Thats the plan.

from helm-charts.

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.