hi there,
Im using Kong Ingress on AKS and I have a requirement to use linkerd service mesh and require some help on setting the annotation for Request Transformer plugin.
I need to set the request header to be like the following:
You can do this using a custom plugin.
Or you can use host_header attribute of the upstream entity.
It is present in KongIngress resource under the upstream section.
Would something like above work? also I have multiple micro-services in the upstream, would I need to need to hard code each of the my-svc instead of the $service_name?
No, this won’t work. You can define routes based on regex and then use position based arguments for substitution but you can’t directly substitute the service name.