Skip to content
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

add check support k8s version #2259

Merged
merged 2 commits into from
May 30, 2024
Merged

Conversation

bzd111
Copy link

@bzd111 bzd111 commented May 27, 2024

Use the following command to create a cluster: kk create cluster -f cluster.yaml.

If a Kubernetes version specified in cluster.yaml is not found in versions/components.json, the installation process should terminate. Instead of exiting after a failed SHA256 comparison following the download.

What type of PR is this?

/kind feature

Optionally add one or more of the following kinds if applicable:
/kind flake

What this PR does / why we need it:

Check the supported k8s versions and terminate early in the precheck.

Special notes for reviewers:

Does this PR introduced a user-facing change?

no

@ks-ci-bot ks-ci-bot added kind/feature Categorizes issue or PR as related to a new feature. kind/flake Categorizes issue or PR as related to a flaky test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 27, 2024
@pixiake
Copy link
Collaborator

pixiake commented May 27, 2024

@bzd111 Thanks for this contributions !

/lgtm
/approve

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label May 27, 2024
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: c709e08c77fa6653d0b3098a3aaba085b34a66c7

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 27, 2024
@ks-ci-bot ks-ci-bot removed the lgtm Indicates that a PR is ready to be merged. label May 28, 2024
Copy link

sonarcloud bot commented May 28, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@bzd111
Copy link
Author

bzd111 commented May 28, 2024

@pixiake
Apologies, I overlooked that the Go version is 1.19, which does not support the use of built-in slices available in 1.21.
Please review the commit.

@pixiake
Copy link
Collaborator

pixiake commented May 30, 2024

/lgtm
/approve

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label May 30, 2024
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: d1da0388aa5532413a20db1f3a62f6bbd47b7282

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bzd111, pixiake

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot merged commit af024f2 into kubesphere:master May 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. kind/flake Categorizes issue or PR as related to a flaky test. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants