Skip to content

Conversation

@dlipovetsky
Copy link
Contributor

What problem does this PR solve?:
Fixes some issues with the check results, including:

  • Make the field more precise
  • Capitalize messages
  • Use valid JSONPath in fields

Also:

  • Remove code that is never expected to run
  • Do not treat invalid credentials as an internal error

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

All changes covered by unit tests.

Special notes for your reviewer:

@github-actions github-actions bot added the fix label Jul 7, 2025
@dlipovetsky dlipovetsky force-pushed the dlipovetsky/preflight-checks-improve-errors branch from 6048998 to 014c210 Compare July 8, 2025 01:48
@thunderboltsid thunderboltsid self-requested a review July 8, 2025 07:19
Copy link
Contributor

@supershal supershal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@supershal supershal merged commit f219cc6 into main Jul 8, 2025
30 of 31 checks passed
@supershal supershal deleted the dlipovetsky/preflight-checks-improve-errors branch July 8, 2025 22:05
@github-actions github-actions bot 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>
dlipovetsky added a commit that referenced this pull request Jul 18, 2025
**What problem does this PR solve?**:
Some fields were still not using valid JSONPath. I already fixed the
other fields earlier in
#1202.

**Which issue(s) this PR fixes**:
Fixes #

**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->

**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
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