kuadrant-operator icon indicating copy to clipboard operation
kuadrant-operator copied to clipboard

Deprecate workload selectors?

Open alexsnaps opened this issue 2 years ago • 1 comments

I think with this being introduced in Istio 1.20

In this release, we have also added support for configuring Istio CRDs AuthorizationPolicy, RequestAuthentication, Telemetry and WasmPlugin for Kubernetes Gateway API via the targetRef field.

We might be able to leverage targetRef'ing the Gateway directly in our code just as well.

alexsnaps avatar Nov 16 '23 00:11 alexsnaps

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.

eguzki avatar Dec 11 '23 13:12 eguzki

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

KevFan avatar Jun 05 '24 08:06 KevFan