diff options
author | 2023-03-28 16:39:39 +0000 | |
---|---|---|
committer | 2023-03-28 16:39:39 +0000 | |
commit | 2ff70ab60f387a40f1723c0449e29c74fe1e118c (patch) | |
tree | dd079095a55ee4aab22e450c3060e4ec115966a9 /docs/sections/resources/yaml/envoyfilter-case.yaml | |
parent | 6539e7a7ee21d68ce6b0cc7be7b14e71ebaaf4d9 (diff) | |
parent | 2900765560071572d8a5c53482855048cddfac92 (diff) |
Merge "[STRIMZI] Correction for external Access via Ingress"
Diffstat (limited to 'docs/sections/resources/yaml/envoyfilter-case.yaml')
-rw-r--r-- | docs/sections/resources/yaml/envoyfilter-case.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/sections/resources/yaml/envoyfilter-case.yaml b/docs/sections/resources/yaml/envoyfilter-case.yaml index c919319ecc..31e80374e2 100644 --- a/docs/sections/resources/yaml/envoyfilter-case.yaml +++ b/docs/sections/resources/yaml/envoyfilter-case.yaml @@ -37,4 +37,47 @@ spec: stateful_formatter: name: preserve_case typed_config: + '@type': type.googleapis.com/envoy.extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig +--- +apiVersion: networking.istio.io/v1alpha3 +kind: EnvoyFilter +metadata: + name: header-casing-outbound + namespace: istio-config + #annotations: + # argocd.argoproj.io/hook: PostSync +spec: + configPatches: + - applyTo: CLUSTER + match: + context: SIDECAR_OUTBOUND + patch: + operation: MERGE + value: + typed_extension_protocol_options: + envoy.extensions.upstreams.http.v3.HttpProtocolOptions: + '@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions + use_downstream_protocol_config: + http_protocol_options: + header_key_format: + stateful_formatter: + name: preserve_case + typed_config: + '@type': type.googleapis.com/envoy.extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig + - applyTo: NETWORK_FILTER + match: + listener: + filterChain: + filter: + name: envoy.filters.network.http_connection_manager + patch: + operation: MERGE + value: + typed_config: + '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager + http_protocol_options: + header_key_format: + stateful_formatter: + name: preserve_case + typed_config: '@type': type.googleapis.com/envoy.extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig
\ No newline at end of file |