envoyproxy / gateway

Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
https://gateway.envoyproxy.io
Apache License 2.0
1.44k stars 296 forks source link

Add CEL Validation to disable MergeGateways from being set when EnvoyProxy targets a Gateway #3601

Open arkodg opened 3 weeks ago

arkodg commented 3 weeks ago
          should we add validation to not allow setting MergeGateways on EnvoyProxy when attaching it to the Gateway?

Originally posted by @cnvergence in https://github.com/envoyproxy/gateway/pull/3532#pullrequestreview-2112415549

haoqixu commented 3 weeks ago

Can we achieve it via CEL? :thinking:

cnvergence commented 3 weeks ago

I can take a look at it :)