Azure / azure-service-operator

Azure Service Operator allows you to create Azure resources using kubectl
https://azure.github.io/azure-service-operator/
MIT License
702 stars 188 forks source link

Update InitializeSpec to use enumeration conversions and maintain letter case #4109

Closed theunrepentantgeek closed 2 weeks ago

theunrepentantgeek commented 2 weeks ago

What this PR does / why we need it:

The case-correcting conversions previously introduced weren't being used for the Status->Spec conversion required by asoctl, resulting in the generated YAML files containing the incorrect values (which is an issue given Kubernetes validation is case-strict, not case-forgiving).

We update the property conversions to handle the new case and regenerate the api files.

Special notes for your reviewer:

Closes #3805

How does this PR make you feel: gif

If applicable: