'Enrich the http request header in envoyproxy from the database
Is it possible to enrich the http request header in envoyproxy from the database?
Solution 1:[1]
You can manipulate the headers, there are examples on the Istio website for this: https://istio.io/v1.4/docs/tasks/policy-enforcement/control-headers/
Manipulate it somehow from the database is more difficult. You probably need a you own service in the k8s cluster, which will make queries in the database and, based on the logic you need, patch the configuration of Istio entities. You can try to implement this by writing Mutating Configuration Webhook perhaps...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | KubePony |
