-
Notifications
You must be signed in to change notification settings - Fork 225
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 Kubernetes dependencies #502
Upgrade Kubernetes dependencies #502
Conversation
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.
Surprisingly small change. Nice!
KUBECTL_VERSION=v1.21.4 | ||
|
||
KUBECTL_VERSION=v1.25.5 | ||
ENVTEST_K8S_VERSION=1.25.0 |
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.
no newer patch version available?
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.
Yes, that is the newest patch version:
$ ./bin/setup-envtest list --arch "*" --os "*" | grep 25
(installed) v1.25.0 darwin/arm64
(available) v1.25.0 darwin/amd64
(available) v1.25.0 darwin/arm64
(available) v1.25.0 linux/amd64
(available) v1.25.0 linux/arm64
(available) v1.25.0 linux/ppc64le
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package tools |
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.
what's this for?
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 referred to the following:
https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
/lgtm |
Thanks for the review! /assign @terrytangyuan |
cd2c860
to
5b28de0
Compare
@alculquicondor I forgot to re-generate go client codes. PTAL |
Something is wrong... |
5b28de0
to
d93642d
Compare
@alculquicondor The So we need to change the Go module name to The latter means we revert #496. WDYT? |
Interesting. I guess that's not a problem in k8s.io/klog. I'm fine with changing the module name. I wouldn't expect users of the internal packages, right? |
As I can see, the
Yes, I think so too. |
1bd225c
to
260ed2e
Compare
Consider splitting the module rename in a separate PR. |
260ed2e
to
1920819
Compare
Makes sense. |
1920819
to
1b924ec
Compare
1b924ec
to
9e027bb
Compare
@alculquicondor I have rebased and squashed. PTAL. |
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.
Minor questions
@@ -54,8 +74,10 @@ dev_manifest: | |||
|
|||
.PHONY: generate | |||
generate: | |||
go generate ./pkg/... ./cmd/... && \ | |||
openapi-gen --input-dirs github.com/kubeflow/mpi-operator/pkg/apis/kubeflow/v2beta1,k8s.io/api/core/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/apimachinery/pkg/api/resource,k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/util/intstr,k8s.io/apimachinery/pkg/version,github.com/kubeflow/common/pkg/apis/common/v1 --output-package github.com/kubeflow/mpi-operator/pkg/apis/kubeflow/v2beta1 --go-header-file hack/boilerplate/boilerplate.go.txt | |||
go generate ./pkg/... ./cmd/... |
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.
why is this changing?
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.
L58 duplicates the below:
mpi-operator/hack/python-sdk/gen-sdk.sh
Lines 34 to 35 in cd83424
echo "Generating V2 OpenAPI specification ..." | |
openapi-gen --input-dirs github.com/kubeflow/mpi-operator/pkg/apis/kubeflow/v2beta1,k8s.io/api/core/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/apimachinery/pkg/api/resource,k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/util/intstr,k8s.io/apimachinery/pkg/version,github.com/kubeflow/common/pkg/apis/common/v1 --output-package github.com/kubeflow/mpi-operator/pkg/apis/kubeflow/v2beta1 --go-header-file hack/boilerplate/boilerplate.go.txt |
So I removed L58.
Please squash. |
Signed-off-by: Yuki Iwai <[email protected]>
a2d636b
to
40dbddd
Compare
@alculquicondor Squashed. |
/lgtm |
/assign @terrytangyuan |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: terrytangyuan 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 |
Signed-off-by: Yuki Iwai [email protected]
I upgraded Kubernetes dependencies.
Fixes: #483