Giter Site home page Giter Site logo

Add templating support about konstraint HOT 5 OPEN

plexsystems avatar plexsystems commented on August 17, 2024
Add templating support

from konstraint.

Comments (5)

rossedman avatar rossedman commented on August 17, 2024 1

Chiming in here, there are some use cases where adding full template support would be preferred over just annotations and labels. Most of this revolves around Gatekeeper's unique way of creating CRDs and how that effects systems that automatically roll out and apply these resources. Example here

from konstraint.

jpreese avatar jpreese commented on August 17, 2024

I think the ability to add labels and annotations make sense. Is this your immediate use case? Is there anything else you're wanting to be able to alter in the constraints and templates?

from konstraint.

mrueg avatar mrueg commented on August 17, 2024

Ideally, support for a static template so I could render the result and use a helm template (so labels and annotations is a first step, but there might be additional fields that others would want exposed or some yaml preprocessing)

from konstraint.

jalseth avatar jalseth commented on August 17, 2024

I think we could add support for @label and @annotation tags in the header if desired, but if the desire is for a general ability to modify all K8s metadata for the Constraint/ConstraintTemplate then I don't think Konstraint is the tool for that. That sounds like it would be better suited for Kustomize which can patch the resources generated by Konstraint to insert labels, annotations, and any other changes.

from konstraint.

mrueg avatar mrueg commented on August 17, 2024

I think labels and annotations are a great thing to start with, agreed kustomize is a good solution as well!

from konstraint.

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.