🌱 Bump k8s dependencies to v1.36.0 and update tooling#2717
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
9b704aa to
d02c464
Compare
d02c464 to
d2bcd24
Compare
5fb8856 to
aaaa412
Compare
aaaa412 to
c916376
Compare
c916376 to
ddc3098
Compare
ddc3098 to
d616a7d
Compare
| k8s.io/api v0.36.0 | ||
| k8s.io/apiextensions-apiserver v0.36.0 | ||
| k8s.io/apimachinery v0.36.0 | ||
| k8s.io/apiserver v0.36.0 | ||
| k8s.io/cli-runtime v0.35.1 |
| sigs.k8s.io/controller-tools v0.21.0 | ||
| sigs.k8s.io/crdify v0.6.0 |
|
/label go-verdiff-override @tmshort I hope we are ok with go upgrade, just learned that downstream go 1.26.3 is available since June 2. |
|
@pedjak: The label(s) `/label go-verdiff-override
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 24 changed files in this pull request and generated 2 comments.
Files not reviewed (5)
- api/v1/zz_generated.deepcopy.go: Language not supported
- applyconfigurations/api/v1/clustercatalog.go: Language not supported
- applyconfigurations/api/v1/clusterextension.go: Language not supported
- applyconfigurations/api/v1/clusterobjectset.go: Language not supported
- applyconfigurations/internal/internal.go: Language not supported
| func filterVersionAnnotation(s string) string { | ||
| var lines []string | ||
| sc := bufio.NewScanner(strings.NewReader(s)) | ||
| for sc.Scan() { | ||
| if !strings.Contains(sc.Text(), "controller-gen.kubebuilder.io/version") { |
There was a problem hiding this comment.
Fixed — switched to strings.Split which has no token size limit.
d793a9b to
5097a7d
Compare
5097a7d to
531a32a
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 24 changed files in this pull request and generated 1 comment.
Files not reviewed (5)
- api/v1/zz_generated.deepcopy.go: Language not supported
- applyconfigurations/api/v1/clustercatalog.go: Language not supported
- applyconfigurations/api/v1/clusterextension.go: Language not supported
- applyconfigurations/api/v1/clusterobjectset.go: Language not supported
- applyconfigurations/internal/internal.go: Language not supported
| sc := bufio.NewScanner(strings.NewReader(s)) | ||
| for sc.Scan() { | ||
| if !strings.Contains(sc.Text(), "controller-gen.kubebuilder.io/version") { | ||
| lines = append(lines, sc.Text()) | ||
| } |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 19 out of 25 changed files in this pull request and generated 2 comments.
Files not reviewed (5)
- api/v1/zz_generated.deepcopy.go: Language not supported
- applyconfigurations/api/v1/clustercatalog.go: Language not supported
- applyconfigurations/api/v1/clusterextension.go: Language not supported
- applyconfigurations/api/v1/clusterobjectset.go: Language not supported
- applyconfigurations/internal/internal.go: Language not supported
| sc := bufio.NewScanner(strings.NewReader(s)) | ||
| for sc.Scan() { | ||
| if !strings.Contains(sc.Text(), "controller-gen.kubebuilder.io/version") { | ||
| lines = append(lines, sc.Text()) | ||
| } |
364e3d6 to
559ae6f
Compare
559ae6f to
063cb27
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 20 changed files in this pull request and generated 4 comments.
Files not reviewed (5)
- api/v1/zz_generated.deepcopy.go: Language not supported
- applyconfigurations/api/v1/clustercatalog.go: Language not supported
- applyconfigurations/api/v1/clusterextension.go: Language not supported
- applyconfigurations/api/v1/clusterobjectset.go: Language not supported
- applyconfigurations/internal/internal.go: Language not supported
| func filterVersionAnnotation(s string) string { | ||
| var lines []string | ||
| sc := bufio.NewScanner(strings.NewReader(s)) | ||
| for sc.Scan() { | ||
| if !strings.Contains(sc.Text(), "controller-gen.kubebuilder.io/version") { | ||
| lines = append(lines, sc.Text()) | ||
| } | ||
| require.NoError(t, err1) | ||
| require.NoError(t, err2) | ||
| require.Equal(t, n1, n2) | ||
| require.Equal(t, b1, b2) | ||
| } | ||
| return strings.Join(lines, "\n") |
063cb27 to
37602f8
Compare
|
/hold cancel @tmshort @rashmigottipati I think this is ready for final review. |
Yes,
Root cause was a missing NetworkPolicy for the prometheus-operator pod — the
The |
- Bump k8s.io/* staging modules to v0.36.0 - Bump controller-tools to v0.21.0 and crdify to v0.6.0 - Update SchemeBuilder to use k8s.io/apimachinery/pkg/runtime - Suppress no-op diffs from controller-gen version bumps in generated files, CRDs, and manifests - Ignore controller-gen version annotation in CRD generator test Co-Authored-By: Predrag Knezevic <pknezevi@redhat.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37602f8 to
f52b3bc
Compare
| @# 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 |
There was a problem hiding this comment.
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.
But I see your point, and we may choose to revisit this in the future.
There was a problem hiding this comment.
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. But I see your point, and we may choose to revisit this in the future.
We got 60+ changed files with just ...generate by... comment change, as you spotted rightfully. IMHO, it does not make sense to commit if the real file logic is untouched.
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rashmigottipati, tmshort The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Bump k8s dependencies to v1.36.0 and update tooling.
k8s.io/kubernetesfrom v1.35.0 to v1.36.0 with all staging modules aligned to v0.36.0sigs.k8s.io/controller-toolsfrom v0.20.1 to v0.21.0sigs.k8s.io/crdifyfrom v0.5.1 to v0.6.0SchemeBuilderto usek8s.io/apimachinery/pkg/runtime(moved fromsigs.k8s.io/controller-runtime/pkg/scheme)Reviewer Checklist