diff --git a/tutorials/deploy-istio-kapsule-proxy-protocol/index.mdx b/tutorials/deploy-istio-kapsule-proxy-protocol/index.mdx index 5c6f2e4ce6..3e3831df8c 100644 --- a/tutorials/deploy-istio-kapsule-proxy-protocol/index.mdx +++ b/tutorials/deploy-istio-kapsule-proxy-protocol/index.mdx @@ -214,8 +214,8 @@ kubectl annotate -n istio-system services istio-ingressgateway \ namespace: istio-system spec: workloadSelector: - labels: - istio: ingressgateway + labels: + istio: ingressgateway configPatches: - applyTo: LISTENER patch: @@ -283,15 +283,15 @@ kubectl annotate -n istio-system services istio-ingressgateway \ filterChain: filter: name: envoy.filters.network.http_connection_manager - patch: - operation: MERGE - value: - name: envoy.filters.network.http_connection_manager - typed_config: - "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager - skip_xff_append: false - use_remote_address: true - xff_num_trusted_hops: 1 + patch: + operation: MERGE + value: + name: envoy.filters.network.http_connection_manager + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager + skip_xff_append: false + use_remote_address: true + xff_num_trusted_hops: 1 EOF ``` 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 Run the following command to delete the existing pods using `kubectl`. Kubernetes will spin up new ones automatically after you launch the command: ```bash kubectl delete pod -n istio-system -l istio=ingressgateway -``` \ No newline at end of file +```