-
Notifications
You must be signed in to change notification settings - Fork 706
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
Support K8s v1.29 and Drop K8s v1.26 #2039
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y 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 |
9d0f4bf
to
503c1c7
Compare
Pull Request Test Coverage Report for Build 8473367682Details
💛 - Coveralls |
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
503c1c7
to
07a4a89
Compare
"k8s.io/utils/pointer" | ||
"k8s.io/utils/ptr" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I addressed the following golangci-lint error:
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
MXJobReplicaTypeWorker: &ReplicaSpec{ | ||
Replicas: pointer.Int32(replicas), | ||
MXJobReplicaTypeWorker: { | ||
Replicas: ptr.To[int32](replicas), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the unnecessary type specifying.
/lgtm |
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com> (cherry picked from commit fb35949)
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com> Signed-off-by: deepanker13 <deepanker.gupta@nutanix.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
What this PR does / why we need it:
I added support for the K8s v1.29 and dropped the K8s v1.26.
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #1999
Checklist: