-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Bump k8s to v1.30 release train #9335
Conversation
46277a2
to
e7f5bec
Compare
🚂 |
Requires calico/go-build k8s utilities bump in projectcalico/go-build#597. |
@@ -57,17 +57,17 @@ gen-files .generate_files: lint-cache-dir clean-generated | |||
sh -c '$(GIT_CONFIG_SSH) defaulter-gen \ | |||
--v 1 --logtostderr \ | |||
--go-header-file "/go/src/$(PACKAGE_NAME)/hack/boilerplate/boilerplate.go.txt" \ | |||
--input-dirs "$(PACKAGE_NAME)/pkg/apis/projectcalico/v3" \ |
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.
--input-dirs
flag is removed in kubernetes/code-generator@4d6b3bd.
--extra-peer-dirs "$(PACKAGE_NAME)/pkg/apis/projectcalico/v3" \ | ||
--output-file-base "zz_generated.defaults"' |
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.
--output-file-base
is renamed in kubernetes/code-generator@1441417.
@@ -78,8 +78,16 @@ gen-files .generate_files: lint-cache-dir clean-generated | |||
sh -c '$(GIT_CONFIG_SSH) openapi-gen \ | |||
--v 1 --logtostderr \ | |||
--go-header-file "/go/src/$(PACKAGE_NAME)/hack/boilerplate/boilerplate.go.txt" \ | |||
--input-dirs "$(PACKAGE_NAME)/pkg/apis/projectcalico/v3,k8s.io/api/core/v1,k8s.io/api/networking/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/apimachinery/pkg/version,k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/util/intstr,$(PACKAGE_NAME)/pkg/lib/numorstring" \ | |||
--output-package "$(PACKAGE_NAME)/pkg/openapi"' | |||
--output-dir "/go/src/$(PACKAGE_NAME)/pkg/openapi" \ |
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.
--output-dir
flag is enforced in kubernetes/code-generator@0723f18.
This changeset upgrades k8s dependencies to v1.30 release train.
a.ExternallyAccessible() == b.ExternallyAccessible() && | ||
a.UsesClusterEndpoints() == b.UsesClusterEndpoints() && | ||
a.UsesLocalEndpoints() == b.UsesLocalEndpoints() |
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.
These fields exist in k8s ServicePort
interface but not as part of the comparison. They are probably added after we implement ServicePortEqual
function. @tomastigera PTAL this and the new cidrEqual
function (replaces stringsEqual
).
type IPOrIPNet interface { | ||
net.IP | *net.IPNet | ||
} |
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.
❤️
Description
This changeset upgrades k8s dependencies to v1.30 release train.
Related issues/PRs
Todos
Release Note
Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one
docs-*
label.docs-pr-required
: This change requires a change to the documentation that has not been completed yet.docs-completed
: This change has all necessary documentation completed.docs-not-required
: This change has no user-facing impact and requires no docs.Every PR needs one
release-note-*
label.release-note-required
: This PR has user-facing changes. Most PRs should have this label.release-note-not-required
: This PR has no user-facing changes.Other optional labels:
cherry-pick-candidate
: This PR should be cherry-picked to an earlier release. For bug fixes only.needs-operator-pr
: This PR is related to install and requires a corresponding change to the operator.