Nuno Anselmo b18db6facb
Fix AgentgatewayPolicy CRD HostRewrite property (#1167)
Within the AgentgatewayPolicy CRD there is a bug with the HostRewrite
optional property.

It is simultaneously an `enum` for `Auto`/`None` and of type `object`
with a `mode` property, which are not simultaneously satisfiable.

I believe an adequate fix would be to just move the `enum` into the
`mode`, as it was probably just an indentation bug to begin with.

I'm not sure if there are any considerations to be had about
backwards-compability since, in this case, it goes from not working
(unsatisfiable constraints) to functional (at least on the CRD side).

---------

Co-authored-by: John Howard <john.howard@solo.io>
2026-03-09 17:01:26 -07:00
..