-
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6e49fe4
Bump k8s to v1.30 release train
hjiawei b3d2ab0
Assign AlwaysAllowAuthorizer when authorization is disabled
hjiawei 4ff9008
Use go-build with k8s 1.30 utilities
hjiawei 029586e
Add admissionregistration RBAC for apiserver
hjiawei dc73609
Rework bpf proxy syncer ServicePortEqual func
hjiawei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" \ | ||
--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 commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
--output-file zz_generated.defaults.go \ | ||
"$(PACKAGE_NAME)/pkg/apis/projectcalico/v3"' | ||
# Generate deep copies | ||
$(DOCKER_RUN) $(CALICO_BUILD) \ | ||
sh -c '$(GIT_CONFIG_SSH) deepcopy-gen \ | ||
--v 1 --logtostderr \ | ||
--go-header-file "/go/src/$(PACKAGE_NAME)/hack/boilerplate/boilerplate.go.txt" \ | ||
--input-dirs "$(PACKAGE_NAME)/pkg/apis/projectcalico/v3" \ | ||
--bounding-dirs $(PACKAGE_NAME) \ | ||
--output-file-base zz_generated.deepcopy' | ||
--output-file zz_generated.deepcopy.go \ | ||
"$(PACKAGE_NAME)/pkg/apis/projectcalico/v3"' | ||
|
||
# generate all pkg/client contents | ||
$(DOCKER_RUN) $(CALICO_BUILD) \ | ||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
--output-pkg "$(PACKAGE_NAME)/pkg/openapi" \ | ||
"$(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/runtime" \ | ||
"k8s.io/apimachinery/pkg/util/intstr" \ | ||
"k8s.io/apimachinery/pkg/version" \ | ||
"$(PACKAGE_NAME)/pkg/lib/numorstring"' | ||
|
||
touch .generate_files | ||
$(MAKE) fix | ||
|
@@ -101,7 +109,7 @@ clean-generated: | |
find $(TOP_SRC_DIRS) -name zz_generated* -exec rm {} \; | ||
# rollback changes to the generated clientset directories | ||
# find $(TOP_SRC_DIRS) -type d -name *_generated -exec rm -rf {} \; | ||
rm -rf pkg/client/clientset_generated pkg/client/informers_generated pkg/client/listers_generated pkg/openapi pkg/lib/numorstring/openapi_generated.go | ||
rm -rf pkg/client/clientset_generated pkg/client/informers_generated pkg/client/listers_generated pkg/openapi | ||
|
||
clean-bin: | ||
rm -rf $(BINDIR) \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.