Skip to content

chore: update to Kubernetes 0.36.0#10593

Merged
mnencia merged 3 commits into
mainfrom
dev/10592
May 6, 2026
Merged

chore: update to Kubernetes 0.36.0#10593
mnencia merged 3 commits into
mainfrom
dev/10592

Conversation

@sxd

@sxd sxd commented May 1, 2026

Copy link
Copy Markdown
Member

Bump k8s.io/* to v0.36.0. That version preserves API compatibility, which keeps the migration small (kubernetes/kubernetes#137298).

controller-runtime v0.24.0 deprecated its SchemeBuilder in favor of the apimachinery one (kubernetes-sigs/controller-runtime#3461), so api/v1 is migrated accordingly.

The Go directive moves to 1.26.0 because controller-runtime v0.24.0 requires it. The k8s.io/streaming migration is test-only. The regenerated Pooler CRD picks up the upstream PodSpec rename workloadRef -> schedulingGroup; both shapes are alpha and have no user-visible impact.

Closes #10592

@sxd sxd requested review from a team, NiccoloFei, jsilvela and litaocdl as code owners May 1, 2026 16:03
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 1, 2026
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.28 release-1.29 labels May 1, 2026
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@dosubot dosubot Bot added the chore Intangible work to reduce technical debt label May 1, 2026
@sxd

sxd commented May 1, 2026

Copy link
Copy Markdown
Member Author

/test

@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

@sxd, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/25221720515

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label May 1, 2026
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels May 2, 2026
@sxd sxd removed the ok to merge 👌 This PR can be merged label May 2, 2026
@sxd

sxd commented May 2, 2026

Copy link
Copy Markdown
Member Author

/test

@github-actions

github-actions Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

@sxd, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/25247041681

@sxd sxd changed the title chore: migration from k8s.io/apimachinery/util/httpstream to k8s.io/streaming chore: update to Kubernetes 0.36.0 May 2, 2026
@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label May 2, 2026
@sxd sxd added this to the 1.29.1 milestone May 4, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 5, 2026
…treaming

The migration comes with the update of k8s packages to keep the migration
as small as possible, this due to have the same compatibility only in the
latest version 0.36.0 of the APIs

Closes #10592

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
sxd added 2 commits May 5, 2026 19:32
…ry one

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
@mnencia

mnencia commented May 5, 2026

Copy link
Copy Markdown
Member

/test

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/25392214424

@mnencia mnencia merged commit 490938f into main May 6, 2026
46 checks passed
@mnencia mnencia deleted the dev/10592 branch May 6, 2026 09:21
cnpg-bot pushed a commit that referenced this pull request May 6, 2026
Bump k8s.io/* to v0.36.0. That version preserves API compatibility,
which keeps the migration small
(kubernetes/kubernetes#137298).

controller-runtime v0.24.0 deprecated its SchemeBuilder in favor of the
apimachinery one
(kubernetes-sigs/controller-runtime#3461), so
api/v1 is migrated accordingly.

The Go directive moves to 1.26.0 because controller-runtime v0.24.0
requires it. The k8s.io/streaming migration is test-only. The
regenerated Pooler CRD picks up the upstream PodSpec rename workloadRef
-> schedulingGroup; both shapes are alpha and have no user-visible
impact.

Closes #10592

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
(cherry picked from commit 490938f)
cnpg-bot pushed a commit that referenced this pull request May 6, 2026
Bump k8s.io/* to v0.36.0. That version preserves API compatibility,
which keeps the migration small
(kubernetes/kubernetes#137298).

controller-runtime v0.24.0 deprecated its SchemeBuilder in favor of the
apimachinery one
(kubernetes-sigs/controller-runtime#3461), so
api/v1 is migrated accordingly.

The Go directive moves to 1.26.0 because controller-runtime v0.24.0
requires it. The k8s.io/streaming migration is test-only. The
regenerated Pooler CRD picks up the upstream PodSpec rename workloadRef
-> schedulingGroup; both shapes are alpha and have no user-visible
impact.

Closes #10592

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
(cherry picked from commit 490938f)
mnencia pushed a commit that referenced this pull request May 6, 2026
Bump k8s.io/* to v0.36.0. That version preserves API compatibility,
which keeps the migration small
(kubernetes/kubernetes#137298).

controller-runtime v0.24.0 deprecated its SchemeBuilder in favor of the
apimachinery one
(kubernetes-sigs/controller-runtime#3461), so
api/v1 is migrated accordingly.

The Go directive moves to 1.26.0 because controller-runtime v0.24.0
requires it. The k8s.io/streaming migration is test-only. The
regenerated Pooler CRD picks up the upstream PodSpec rename workloadRef
-> schedulingGroup; both shapes are alpha and have no user-visible
impact.

Closes #10592

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
(cherry picked from commit 490938f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases chore Intangible work to reduce technical debt lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged release-1.25 release-1.28 release-1.29 size:L This PR changes 100-499 lines, ignoring generated files.

Development

Successfully merging this pull request may close these issues.

[Bug]: k8s.io/apimachinery/pkg/util/httpstream deprecated

5 participants