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

Add option to set runtime flags #2239

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

howardjohn
Copy link
Member

For istio/istio#37202

I was originally going to use env var hacks - we already have similar
for ISTIO_META and XDS_HEADER. However, envoy runtime vars take the
format of foo.bar_baz=something. Env vars do not allow ., or really
any special charecters other than _, so we cannot easily use them.
Instead, seems better to have an explicit field.

For istio/istio#37202

I was originally going to use env var hacks - we already have similar
for `ISTIO_META` and `XDS_HEADER`. However, envoy runtime vars take the
format of `foo.bar_baz=something`. Env vars do not allow `.`, or really
any special charecters other than `_`, so we cannot easily use them.
Instead, seems better to have an explicit field.
@howardjohn howardjohn added the release-notes-none Indicates a PR that does not require release notes. label Feb 8, 2022
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 8, 2022
@@ -460,6 +460,10 @@ message ProxyConfig {
// Names starting with `ISTIO_META_` will be included in the generated bootstrap and sent to the XDS server.
map<string,string> proxy_metadata = 24;

// Envoy [runtime configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/operations/runtime) to set during bootstrapping.
// This enables setting experimental, unsafe, unsupported, and deprecated features that should be used with extreme caution.
map<string,string> runtime_values = 37;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: may be runtime_flags?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants