Skip to content

Conversation

@thunderboltsid
Copy link
Contributor

kubernetes version can include extraneous values other than major.minor.patch. e.g. "1.33.1+fips.0".

While our image builder conventions include kubernetes major, minor, and patch versions in the image name, they don't include extraneous info as part of kubernetes version. To ensure our check only matches the right parts of the image name, we sanitize the kubernetes version before doing a substring match.

…check

kubernetes version can include extraneous values other than major.minor.patch.
e.g. "1.33.1+fips.0".

While our image builder conventions include kubernetes
major, minor, and patch versions in the image name, they don't include extraneous
info as part of kubernetes version. To ensure our check only matches the right
parts of the image name, we sanitize the kubernetes version before doing a
substring match.
@github-actions github-actions bot added the fix label Jul 4, 2025
@thunderboltsid thunderboltsid force-pushed the issue/preflight-vmimagename-k8sver-fix branch from 87206c0 to 7c32a4b Compare July 4, 2025 15:17
@thunderboltsid
Copy link
Contributor Author

renamed the commit to appease linter gods

@thunderboltsid thunderboltsid enabled auto-merge (squash) July 4, 2025 15:18
@thunderboltsid thunderboltsid merged commit 5b01c5a into main Jul 7, 2025
22 checks passed
@thunderboltsid thunderboltsid deleted the issue/preflight-vmimagename-k8sver-fix branch July 7, 2025 10:11
@faiq faiq mentioned this pull request Jul 8, 2025
dlipovetsky pushed a commit that referenced this pull request Jul 9, 2025
🤖 I have created a release *beep* *boop*
---


## 0.31.1 (2025-07-08)

<!-- Release notes generated using configuration in .github/release.yaml
at main -->

## What's Changed
### Fixes 🔧
* fix(preflight): sanitize kubernetes version for image name preflight
check by @thunderboltsid in
#1198
* fix: allow http registries by disabling TLS check by @faiq in
#1203
* fix: use a better name for registry check by @faiq in
#1204
* fix: Misc. fixes to preflight check results by @dlipovetsky in
#1202


**Full Changelog**:
v0.31.0...v0.31.1

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants