Skip to content

support read header value from env variable #3474

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

Merged
merged 1 commit into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 61 additions & 8 deletions mesh/v1alpha1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions mesh/v1alpha1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1264,8 +1264,17 @@ message MeshConfig {
message HttpHeader {
// REQUIRED. The HTTP header name.
string name = 1;
// REQUIRED. The HTTP header value.
string value = 2;
// The HTTP header value.
oneof header_value {
// The HTTP header value.
string value = 2;
// The HTTP header value from the environment variable.
//
// Warning:
// - The environment variable must be set in the istiod pod spec.
// - This is not a end-to-end secure.
string env_name = 3;
}
}

message ResourceDetectors {
Expand Down
20 changes: 17 additions & 3 deletions mesh/v1alpha1/istio.mesh.v1alpha1.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.