envoyproxy / gateway

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

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

Open arkodg opened 5 months ago

arkodg commented 5 months 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 5 months ago

Can we achieve it via CEL? :thinking:

cnvergence commented 5 months ago

I can take a look at it :)