Deprecate workload selectors?
I think with this being introduced in Istio 1.20
In this release, we have also added support for configuring Istio CRDs
AuthorizationPolicy,RequestAuthentication,TelemetryandWasmPluginfor Kubernetes Gateway API via thetargetReffield.
We might be able to leverage targetRef'ing the Gateway directly in our code just as well.
This would set Istio 1.20 as a clear minimum requirement for kuadrant. Meaning that kuadrant would not work as expected with any Istio release prior to 1.20 version.
WasmPlugin has been updated to use targetRef as part of https://github.com/Kuadrant/kuadrant-operator/pull/612/files
Similar can be done to AuthorizationPolicy at:
https://github.com/Kuadrant/kuadrant-operator/blob/6823ed0d0f5be18d358d8f68163096c240366670/controllers/authpolicy_istio_authorizationpolicy.go#L90-L105