Giter Site home page Giter Site logo

Comments (9)

nesl247 avatar nesl247 commented on July 24, 2024 4

Hi @jasonodonnell,

See how pod annotations are done here: https://github.com/helm/charts/blob/8180c3ffcf90dd5c2bc40e7006715100d7d6386d/incubator/vault/templates/deployment.yaml#L41 as an example. This is a lot easier to work with rather than having to do yaml strings.

from vault-helm.

davidmogar avatar davidmogar commented on July 24, 2024 1

I didn't see this issue when preparing my change, but it makes a lot of sense. Specially when you have to write sensitive information as passwords. I'm trying to cover the config part, more or less, with this change #213.

Another thing that puzzles me but I didn't want to introduce in my change is the fact that deployment mode is split and each one define it's config. A single variable could include the mode and another one the config (with any validation done by Helm).

But for sure, my biggest problem right now is the config specification. Having the possibility to do it in a more dynamic way opens the doors to GitOps and secret management.

from vault-helm.

nesl247 avatar nesl247 commented on July 24, 2024 1

Any word on if this would be accepted if I were to submit a PR? Working with this helm chart is a bit painful as it does a lot of custom stuff instead of adopting community standards, and using native features of yaml.

from vault-helm.

nesl247 avatar nesl247 commented on July 24, 2024 1

I would change any type of value that can be represented in a kubernetes native way to such way. For example, yaml maps for annotations and labels, volumes and volume mounts for volumes, affinity, nodeSelector, rename several values such as disruptionBudget to podDisruptionBudget (more commonly used), allow the config to be stored in an already existing ConfigMap or Secret, refactor the liveness and readiness probes, etc.

It took me a lot longer to figure out all of the custom ways that this helm chart worked rather than using the kubernetes native values, as well as coming from other helm charts that follow this format. This also makes the chart a lot more flexible as it doesn't depend upon as much custom logic which needs to support wider use cases.

On top of which, it solves the discrepancy between values such as resources and volumes, the former using the kubernetes native values, and the latter using a custom solution.

from vault-helm.

jasonodonnell avatar jasonodonnell commented on July 24, 2024

Hi @nesl247!

We're always interested in making this easier to use. I'm trying to understand where we're falling short here. Can you provide me an example of the UX you'd prefer or point to code that could be changed?

Thanks!

from vault-helm.

jasonodonnell avatar jasonodonnell commented on July 24, 2024

@nesl247,

Appreciate the tip, I think this is a good improvement and makes sense to add. Keeping this open to track the work!

from vault-helm.

tvoran avatar tvoran commented on July 24, 2024

@nesl247 What all do you have in mind? Just changing multiline strings to yaml maps, or something more?

You mentioned Pulumi in another issue, is that the motivation for the changes? Can you elaborate on the issues you’re encountering?

from vault-helm.

tvoran avatar tvoran commented on July 24, 2024

Hi @nesl247, I'd say we’re interested in supporting both YAML and YAML-formatted strings for chart values, as done in #272. For the other changes you mentioned I’d suggest separate PRs for each one to make it easier to review.

from vault-helm.

nesl247 avatar nesl247 commented on July 24, 2024

I will do so when I have some time if someone doesn't beat me to it.

Thanks.

from vault-helm.

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.