GithubHelp home page GithubHelp logo

Comments (1)

james-d-elliott avatar james-d-elliott commented on May 25, 2024

Thanks for choosing to submit a feature request. To clarify it is any configuration item which is not a list of primitive types, i.e. string, integer, boolean. If it's a list of objects / dictionaries it has this issue and there is no simple way to implement it.

We have had this discussion a few times including the one you linked where we rejected it and we're not implementing this as it would require a fairly custom environment parser. The parser would present a number of major hurdles and we're just not interested in too much custom handling. The automatic methods that already exist and are supported by the library we use cover most use cases.

Instead we are opting for allowing environment variables within the context of the config itself with the go templating engine which could theoretically be used by individuals to accomplish similar things. See here for the pending changes. We'd be willing to add more template functions to accomplish other goals especially if they existed in helm already.

It's difficult to know when to say no, but this is just not something we want to pigeonhole ourselves into even with the variation of the idea. As soon as people start using something like this they will inevitably misconfigure it and it will lead to unexpected scenarios. It will also fairly likely not work in an expected way for all users especially when they also have individual rules. I think there's a good argument to be had that the existing pending functionality can do exactly what you're describing with an outcome that is much more like what a user expects. The order actually really matters here and rather than the order being arbitrary the user is in control without having to develop our own parser semantics which will be hard to maintain.

I hope this doesn't discourage you in any way. I think the variation was an inspired workaround to the existing ideas which were rejected.

from authelia.

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.