I have an containerized application/service deployed in openshift container platform with istio service mesh. In istio virtual service yaml, i wanted to validate if the http request is having a header(for ex: version) and with value v1. i have added below config in virtual service yaml which validates header.
But i am looking for available options to inject this header in HTTP request using loadbalancer/ingress/openshif route etc.
As my istio-ingressgateway service is deployed with ClusterIp. i have used openshift route to send the external traffic to ingressgateway.
please share the possible ways to add headers to http request
http:
- match:
- headers: # Match header
version: # header that we decided for dark release
exact: v1 # exact match
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…