prysm-pulse/k8s/x_headers_rule.yaml
Preston Van Loon 40588021d4 Add eth1 balance monitoring alert (#2575)
* Add eth1 balance monitoring

* lint

* lint

* priority

* lint

* use value in alerts

* fix beacon-chain service

* working on stability

* more yaml

* add more alerts to the finality alerts

* add nother header to ignore

* extend requirement time for low balance

* remove old flag

* remove extra flag

* feedback to use consistent flag
2019-05-19 10:52:17 -04:00

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