-
Notifications
You must be signed in to change notification settings - Fork 8
fix(preflight): improved error reporting for storage container and VM image checks #1180
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
Conversation
more user-friendly errors.
… checks Remove unnecessary type conversions
|
Should this handling of the List call be similar to what we have in cluster-api-runtime-extensions-nutanix/pkg/webhook/preflight/nutanix/image.go Lines 125 to 137 in 35fd169
|
you mean using if conditionals instead of switch conditionals? |
Yes, but either is fine. |
… checks - Correctly construct error responses of list API calls. - Test error response of list clusters API call. - Treat a missing storageContainer as a failed check, but not an internal error.
7b06600 to
c24088b
Compare
… checks Handle error response for list images API call
c24088b to
da1e63b
Compare
🤖 I have created a release *beep* *boop* --- ## 0.31.0 (2025-07-03) <!-- Release notes generated using configuration in .github/release.yaml at main --> ## What's Changed ### Exciting New Features 🎉 * feat: Allow configuration of kube-proxy mode on cluster creation by @jimmidyson in #1163 * feat: auto enable registry addon in workload clusters by @dkoshkin in #1175 * feat(ntp): Configure NTP for clusters by @thunderboltsid in #1185 * feat: adds a generic checker package with registry and mirror checks by @faiq in #1186 * feat: deploy registry syncer for workload clusters by @dkoshkin in #1189 * feat(preflight): Add VM Image kubernetes version check by @thunderboltsid in #1172 * feat: CAREN support for NutanixFailureDomain by @yanhua121 in #1192 ### Fixes 🔧 * fix: Do not run preflight checks if Cluster is paused by @dlipovetsky in #1181 * fix: misc fixes to the preflight framework by @dlipovetsky in #1188 * fix(preflight): improved error reporting for storage container and VM image checks by @thunderboltsid in #1180 * fix(file): rename test/request/capa.go and test/request/capx.go by @thunderboltsid in #1193 * fix: Move preflight skip annotation constants to api module by @dlipovetsky in #1187 * fix: Include correct field name in registry preflight check results by @dlipovetsky in #1194 * fix: add tolerations and nodeAffinity overrides for registry addon by @supershal in #1183 * fix: include GenericNodeSpec in aggregate type by @dkoshkin in #1182 * fix: Do not treat expected preflight check failures as internal errors by @dlipovetsky in #1195 ## New Contributors * @yanhua121 made their first contribution in #1192 **Full Changelog**: v0.30.0...v0.31.0 --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Uh oh!
There was an error while loading. Please reload this page.