Coder Social home page Coder Social logo

Comments (4)

bkrannich avatar bkrannich commented on July 19, 2024

I wonder what a thought experiment around "what would happen if instead of configgin taking a BOSH deployment manifest we would try and remove configgin from the equation?" would yield.

from fissile.

viovanov avatar viovanov commented on July 19, 2024

@bkrannich we just need "something" to render erb templates.
Right now configgin wraps the bosh-template gem and adds a bit of code to be kube aware and environment aware.

In the end, configgin will be a very thin wrapper for the gem, just so you can call it from the CLI, and it won't exist in each deployment container. It will be used by the operator directly.

Going through the thought experiment:

  • remove configgin
  • what do we use for rendering ERB templates?
  • we need something ruby - no way around that
  • we should use the bosh-template gem so we get results consistent with the bosh agent
  • how do we call the bosh-template gem? our process is go
  • we need to wrap it (with a CLI or some API)
  • I think CLI is simpler and would work well as a Kube job

from fissile.

bkrannich avatar bkrannich commented on July 19, 2024

@viovanov - that's for cases where there's actually ERB as part of the manifest, I guess. What about cases where there isn't (or are those too rare to consider)?

from fissile.

viovanov avatar viovanov commented on July 19, 2024

@bkrannich configgin renders job templates, not manifests.
All jobs have erbs :)

from fissile.

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.