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

Upgrade K8S to v1.21.4 #232

Merged
merged 2 commits into from
Nov 12, 2021
Merged

Conversation

llhuii
Copy link

@llhuii llhuii commented Nov 5, 2021

Current K8S version v1.19.3 has been reported security vulnerabilities
by github Dependabot alerts:

  1. GHSA-f5f7-6478-qm6p
  2. GHSA-mfv7-gq43-w965

The K8S v1.21.4 has been chosen because it is used in KubeEdge latest
release(v1.8.2).

Signed-off-by: llhuii [email protected]

@kubeedge-bot kubeedge-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Nov 5, 2021
llhuii added 2 commits November 8, 2021 10:20
Current K8S version v1.19.3 has been reported security vulnerabilities
by github Dependabot alerts:
1. GHSA-f5f7-6478-qm6p
2. GHSA-mfv7-gq43-w965

The K8S v1.21.4 has been chosen to keep consistent with
KubeEdge(v1.8.2).

Signed-off-by: llhuii <[email protected]>
@llhuii llhuii force-pushed the upgrade-k8s-v1.21.4 branch from 3ab2c32 to 0953a4d Compare November 8, 2021 02:21
@llhuii
Copy link
Author

llhuii commented Nov 8, 2021

fix the checker Verify codegen/vendor/licenses, do lint by downgrading my local golang version from v1.17 to v1.16:

FAILED: codegen verify failed.
Please run the command 'hack/update-codegen.sh' to update your codegen files:
  pkg/apis/sedna/v1alpha1/zz_generated.deepcopy.go
make: *** [Makefile:101: verify-codegen] Error 1

deepcopy-gen compiled in go v1.17 would add an extra mark //go:build !ignore_autogenerated in this code kubernetes/gengo#219

@llhuii
Copy link
Author

llhuii commented Nov 8, 2021

Also add a script named hack/upgrade-k8s.sh for upgrading k8s version

@JimmyYang20
Copy link

/lgtm

@kubeedge-bot kubeedge-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 9, 2021
@llhuii
Copy link
Author

llhuii commented Nov 12, 2021

/approve

@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: llhuii

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

@kubeedge-bot kubeedge-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 12, 2021
@kubeedge-bot kubeedge-bot merged commit 404fed4 into kubeedge:main Nov 12, 2021
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. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants