-
Notifications
You must be signed in to change notification settings - Fork 73
🌱 Bump k8s dependencies to v1.36.0 and update tooling #2717
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
|
||
| go 1.25.0 | ||
| go 1.26.0 | ||
|
|
||
| require sigs.k8s.io/controller-tools v0.20.1 // cmd/controller-gen | ||
| require sigs.k8s.io/controller-tools v0.21.0 // cmd/controller-gen |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -166,6 +166,10 @@ tidy: | |
| .PHONY: update-crds | ||
| update-crds: | ||
| hack/tools/update-crds.sh | ||
| @# Revert CRD files where the only change is the controller-gen version annotation | ||
| @for f in $$(git diff --name-only -- helm/ hack/tools/crd-generator/testdata/); do \ | ||
| git diff --quiet -I 'controller-gen.kubebuilder.io/version' -- "$$f" && git restore --worktree -- "$$f" || true; \ | ||
| done | ||
|
Comment on lines
+169
to
+172
Contributor
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. It's probably fine to allow it to update the version info in the file; at least we'll know what version was used, and we won't have inconsistent "generated by" comments.
Contributor
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.
We got 60+ changed files with just |
||
|
|
||
| # The filename variables can be overridden on the command line if you want to change the set of values files: | ||
| # e.g. make "manifests/standard.yaml=helm/cert-manager.yaml my-values-file.yaml" manifests | ||
|
|
@@ -188,6 +192,8 @@ $(MANIFESTS): $(HELM) $(CONFTEST) | |
| @mkdir -p $(MANIFEST_HOME) | ||
| $(HELM) template olmv1 helm/olmv1 $(addprefix --values ,$($@)) $(addprefix --set ,$(HELM_SETTINGS)) > $@ | ||
| $(CONFTEST) test --policy hack/conftest/policy/ -n main --combine $@ | ||
| @# Revert manifest if the only change is the controller-gen version annotation | ||
| @git diff --quiet -I 'controller-gen.kubebuilder.io/version' -- "$@" && git restore --worktree -- "$@" || true | ||
|
|
||
| # Generate manifests stored in source-control | ||
| .PHONY: manifests | ||
|
|
@@ -202,6 +208,10 @@ generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyI | |
| @find api cmd hack internal -name "zz_generated.deepcopy.go" -not -path "*/vendor/*" -delete && rm -rf applyconfigurations | ||
| $(CONTROLLER_GEN) --load-build-tags=$(GO_BUILD_TAGS) applyconfiguration:headerFile="hack/boilerplate.go.txt" paths="./api/..." | ||
| $(CONTROLLER_GEN) --load-build-tags=$(GO_BUILD_TAGS) object:headerFile="hack/boilerplate.go.txt" paths="./..." | ||
| @# Revert generated files where the only change is the controller-gen version comment | ||
| @for f in $$(git diff --name-only); do \ | ||
| git diff --quiet -I 'Code generated by controller-gen' -- "$$f" && git restore --worktree -- "$$f" || true; \ | ||
| done | ||
|
Copilot marked this conversation as resolved.
|
||
|
|
||
| .PHONY: verify | ||
| verify: k8s-pin kind-verify-versions fmt generate manifests update-tls-profiles crd-ref-docs update-registryv1-bundle-schema verify-bingo #HELP Verify all generated code is up-to-date. Runs k8s-pin instead of just tidy. | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.