Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse JSON values of environment variables #352

Open
roma-glushko opened this issue Dec 17, 2024 · 0 comments
Open

Parse JSON values of environment variables #352

roma-glushko opened this issue Dec 17, 2024 · 0 comments

Comments

@roma-glushko
Copy link

It's not that uncommon to pass JSON in environment variables for complex data.

For example, If you deploy your stuff in a Kubernetes cluster using Helm and you have some additional logic that build together values of your env vars dynamically, chances are it will be convenient for you to leave these env var values as JSON strings.

Is this currently possible to parse an env variable as JSON of specific type like an array of strings e.g. ["http://url1", "http://url2"], or a struct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant