-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: MySQL Flexible Server property sourceServerResourceId has wrong type #3772
Comments
We should investigate how the heuristic missed this, and see if we can improve it - for example looking for properties that end in "resourceId" as I don't think it's doing that |
Trying out some improvements to our heuristic and finding other properties we missed:
We need to decide whether fixing these is important enough to have a breaking change, or whether we can do so without breaking. |
We could make this less of a breaking change if we modified |
I think we've looked into this in the past and determined that it won't work because of Kubernetes structured schema requirements, specifically that they won't let you model that in the Swagger so even if the underlying Go type can do it, APIServer will (I believe) reject the request because it doesn't match the OpenAPI spec. |
Synced up and decided to first check what new apiversions for these resource types are supported - possibly we can fix there in a totally nonbreaking way. |
For the three identified groups, the latest available versions are:
|
While responding to a question on Slack, I spotted the property FlexibleServer
sourceServerResourceId
which looks to be an ARM resource ID, and therefore should be agenruntime.ResourceReference
not astring
.We can't really change the existing version, but I think we should import the latest version(s) of the API (
2023-06-30
and maybe2023-10-01-Preview
) and change it there.The text was updated successfully, but these errors were encountered: