Skip to content

Commit c60971e

Browse files
committed
fix(kapsule): wrong indentation on istio proxy protocol demo
Small indentation issues on the k8s resources.
1 parent 29b9ef9 commit c60971e

File tree

1 file changed

+12
-12
lines changed
  • tutorials/deploy-istio-kapsule-proxy-protocol

1 file changed

+12
-12
lines changed

tutorials/deploy-istio-kapsule-proxy-protocol/index.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff 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
335335
Run the following command to delete the existing pods using `kubectl`. Kubernetes will spin up new ones automatically after you launch the command:
336336
```bash
337337
kubectl delete pod -n istio-system -l istio=ingressgateway
338-
```
338+
```

0 commit comments

Comments
 (0)