The host name in APIRule v2alpha1 is expected to be in FQDN format, while in v1beta1 it could be provided in a short name (only host without domain).
It would be nice to enhance a conversion webhook, so it adds the domain automatically during conversion from v1beta1 to v2alpha1.
Reasons
It is now still possible to still have a host without domain in v2alpha1 if it is converted from v1beta1.
Description
The host name in APIRule v2alpha1 is expected to be in FQDN format, while in v1beta1 it could be provided in a short name (only host without domain). It would be nice to enhance a conversion webhook, so it adds the domain automatically during conversion from v1beta1 to v2alpha1.
Reasons
It is now still possible to still have a host without domain in v2alpha1 if it is converted from v1beta1.
How to reproduce it:
Get the apirule resource in v2alpha1:
It gives:
Then let's try to recreate it from the above content:
It gives error:
DoD:
Attachments