mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
40 lines
999 B
YAML
40 lines
999 B
YAML
|
apiVersion: config.istio.io/v1alpha2
|
||
|
kind: rule
|
||
|
metadata:
|
||
|
name: x-headers
|
||
|
namespace: istio-system
|
||
|
spec:
|
||
|
match: destination.name != "unknown"
|
||
|
responseHeaderOperations:
|
||
|
- name: x-backend
|
||
|
values: [ destination.name ]
|
||
|
operation: APPEND
|
||
|
- name: x-source
|
||
|
values: [ source.workload.name ]
|
||
|
operation: APPEND
|
||
|
---
|
||
|
apiVersion: config.istio.io/v1alpha2
|
||
|
kind: rule
|
||
|
metadata:
|
||
|
name: x-headers-public
|
||
|
namespace: istio-system
|
||
|
spec:
|
||
|
match: source.workload.name == "istio-ingressgateway"
|
||
|
responseHeaderOperations:
|
||
|
- name: x-backend
|
||
|
operation: REMOVE
|
||
|
- name: x-source
|
||
|
operation: REMOVE
|
||
|
- name: x-envoy-upstream-service-time
|
||
|
operation: REMOVE
|
||
|
- name: server
|
||
|
operation: REMOVE
|
||
|
- name: grpc-metadata-x-backend
|
||
|
operation: REMOVE
|
||
|
- name: grpc-metadata-x-source
|
||
|
operation: REMOVE
|
||
|
- name: grpc-metadata-x-envoy-upstream-service-time
|
||
|
operation: REMOVE
|
||
|
- name: grpc-metadata-server
|
||
|
operation: REMOVE
|