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

xds: support env variable GRPC_XDS_BOOTSTRAP_CONFIG for bootstrap config content #4127

Closed
howardjohn opened this issue Dec 21, 2020 · 2 comments · Fixed by #4153
Closed

xds: support env variable GRPC_XDS_BOOTSTRAP_CONFIG for bootstrap config content #4127

howardjohn opened this issue Dec 21, 2020 · 2 comments · Fixed by #4153

Comments

@howardjohn
Copy link
Contributor

Currently, GRPC_XDS_BOOTSTRAP points to a file. In some cases, it much easier to stick the entire configuration in an env var than configure both an env var and a file. For example, with docker, its a simple --env for the former, and both --env and --volume (as well as maintaining the folder, potentially many bootstraps for many containers).

Some other motivations for this can be found in https://12factor.net/config.

@howardjohn
Copy link
Contributor Author

Somewhat related to #4124

@srini100
Copy link
Contributor

Thanks for the suggestion. Also related to grpc/grpc-java#7605 (comment).

We'll add this in all supports languages.

@menghanl menghanl changed the title xds: support configuration of GRPC_XDS_BOOTSTRAP through inline env var config xds: support env variable GRPC_XDS_BOOTSTRAP_CONFIG for bootstrap config content Jan 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants