File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
tutorials/deploy-istio-kapsule-proxy-protocol Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -214,8 +214,8 @@ kubectl annotate -n istio-system services istio-ingressgateway \
214214 namespace : istio-system
215215 spec :
216216 workloadSelector :
217- labels :
218- istio : ingressgateway
217+ labels :
218+ istio : ingressgateway
219219 configPatches :
220220 - applyTo : LISTENER
221221 patch :
@@ -283,15 +283,15 @@ kubectl annotate -n istio-system services istio-ingressgateway \
283283 filterChain:
284284 filter:
285285 name: envoy.filters.network.http_connection_manager
286- patch:
287- operation: MERGE
288- value:
289- name: envoy.filters.network.http_connection_manager
290- typed_config:
291- "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
292- skip_xff_append: false
293- use_remote_address: true
294- xff_num_trusted_hops: 1
286+ patch:
287+ operation: MERGE
288+ value:
289+ name: envoy.filters.network.http_connection_manager
290+ typed_config:
291+ "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
292+ skip_xff_append: false
293+ use_remote_address: true
294+ xff_num_trusted_hops: 1
295295 EOF
296296 ` ` `
297297 You will get an output similar to the following one, after you have configured proxy forward and ` X-Forward-For`
@@ -335,4 +335,4 @@ Once you have added the configurations, you may need to restart the IngressGatew
335335Run the following command to delete the existing pods using ` kubectl` . Kubernetes will spin up new ones automatically after you launch the command:
336336` ` ` bash
337337kubectl delete pod -n istio-system -l istio=ingressgateway
338- ` ` `
338+ ` ` `
You can’t perform that action at this time.
0 commit comments