contrib/envoyproxy: refine component detection#3815
Conversation
eliottness
left a comment
There was a problem hiding this comment.
LGTM except for these points:
- Please use an enum instead of a boolean everywhere
- would it be possible to detect also detect istio (and maybe traefik?) while we are at it ?
BenchmarksBenchmark execution time: 2025-07-29 16:28:21 Comparing candidate commit cddd908 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 24 metrics, 0 unstable metrics. |
|
I’ve added Istio to the list, but I won’t include Traefik since it isn’t currently supported and might cause confusion |
| componentNameGCPServiceExtension = "gcp-service-extension" | ||
| componentNameEnvoy = "envoy" | ||
| componentNameIstio = "istio" |
There was a problem hiding this comment.
Component names usually are made from /. Also having retro compatibility could be cool
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What does this PR do?
This PR refines how the value of the component tag is selected for the GCP Service Extension/Envoy/Istio integration.
#### Changes
AppsecEnvoyConfigis now taking anIntegrationvalue instead of anIsGCPServiceExtensionbool.envoyproxy/go-control-planetoenvoy(The UI currently doesn't use any of the tag component to show the correct proxy icon in the service catalog, so it's safe to change)Motivation
At first, the Service Extension callout image was only used for GCP Service Extension. However today it's also used and advertised for an Envoy integration. The component tag could be used to determine which integration type is it in the UI.
This could be configured in 2 ways:
ExternalProcessorServer, theIntegrationis used to select the component tag.GCPServiceExtensionIntegrationin the official release of the External Processor callout imagex-datadog-envoy-integrationorx-datadog-istio-integrationwith the value set to"1"Reviewer's Checklist
./scripts/lint.shlocally.Unsure? Have a question? Request a review!