Skip to content

Update Kubernetes stack to v0.36.0, Go to 1.26.3, and k8s libs to v0.46.0#1829

Merged
joaopapereira merged 4 commits into
carvel-dev:developfrom
sameerforge:bump/dep/kapp-ctrl-v0.36-bump
May 19, 2026
Merged

Update Kubernetes stack to v0.36.0, Go to 1.26.3, and k8s libs to v0.46.0#1829
joaopapereira merged 4 commits into
carvel-dev:developfrom
sameerforge:bump/dep/kapp-ctrl-v0.36-bump

Conversation

@sameerforge

@sameerforge sameerforge commented May 15, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This PR performs a foundational upgrade of the core development stack, dependencies, and linting tooling for kapp-controller. It updates the root Kubernetes stack to v0.36.0, bumps the Go runtime to 1.26.3, and updates the generated code to maintain compatibility with k8s v0.46.0 libraries. Additionally, golangci-lint is updated to v2.12.2 and dependency checksums have been refreshed.

These updates ensure the project remains secure, aligned with modern upstream Kubernetes libraries, and utilizing the latest static analysis standards.

Dependency Updates

Dependency Previous Version New Version
github.com/prometheus/client_golang v1.18.0 v1.23.2
k8s.io/api v0.30.1 v0.36.0
k8s.io/apimachinery v0.30.1 v0.36.0
k8s.io/apiserver v0.30.1 v0.36.0
k8s.io/client-go v0.30.1 v0.36.0
k8s.io/code-generator v0.30.1 v0.36.0
k8s.io/kube-aggregator v0.22.17 v0.36.0
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3... v0.0.0-20260427204847-8949c...
sigs.k8s.io/controller-runtime v0.18.5 v0.24.1
sigs.k8s.io/controller-tools v0.7.0 v0.20.1
sigs.k8s.io/yaml v1.4.0 v1.6.0

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?


Additional Notes for your reviewer:

  • All automated CI checks and validation pipelines have passed successfully.
  • Code generation templates compiled cleanly against the new k8s v0.46.0 libraries.

Validation & Compatibility Matrix

To ensure absolute backward compatibility and stability across our support window following the v0.36.0 library upgrades, the complete test suite (Unit, Validation, and E2E integration tests) was successfully executed against the following Kubernetes environments:

Test Job Target Platform Resolved K8s Version Status
test-gh / Run all tests link Minikube (Docker) v1.32.13 ✅ Passed
test-gh / Run all tests link Minikube (Docker) v1.33.12 ✅ Passed
test-gh / Run all tests link Minikube (Docker) v1.34.8 ✅ Passed
test-gh / Run all tests link Minikube (Docker) v1.35.5 ✅ Passed
test-gh / Run all tests link Minikube (Docker) v1.36.1 ✅ Passed
Kind Cluster E2E tests link Kind (kinder) v1.36.x ✅ Passed

This comprehensive multi-version verification guarantees that kapp-controller safely supports legacy enterprise baselines while remaining completely ready for cutting-edge native v1.36 control planes.

Review Checklist:
  • Follows the developer guidelines
  • Relevant tests are added or updated
  • Relevant docs in this repo added or updated
  • Relevant carvel.dev docs added or updated in a separate PR and there's
    a link to that PR
  • Code is at least as readable and maintainable as it was before this
    change

Additional documentation e.g., Proposal, usage docs, etc.:


@sameerforge sameerforge force-pushed the bump/dep/kapp-ctrl-v0.36-bump branch from 13d5b42 to 201251e Compare May 15, 2026 10:26
@aroradaman aroradaman force-pushed the bump/dep/kapp-ctrl-v0.36-bump branch 5 times, most recently from a6bd2f7 to f6e1120 Compare May 17, 2026 12:06
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Signed-off-by: Sameer <sameer.khan@broadcom.com>
@aroradaman aroradaman force-pushed the bump/dep/kapp-ctrl-v0.36-bump branch from f6e1120 to dab7884 Compare May 17, 2026 12:11
@sameerforge sameerforge changed the title Bump/dep/kapp ctrl v0.36 bump Update Kubernetes stack to v0.36.0, Go to 1.26.3, and k8s libs to v0.46.0 May 17, 2026
@sameerforge

Copy link
Copy Markdown
Contributor Author

@joaopapereira Please review.

@sameerforge

Copy link
Copy Markdown
Contributor Author

@joaopapereira Please review.

@joaopapereira joaopapereira left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a huge leap, but I guess that we have been lacking bumps for a while.
I will let @praveenrewar take a look, but in general it look ok

@sameerforge

Copy link
Copy Markdown
Contributor Author

🚀 CI Update: Multi-Version Test Matrix Passed!

All verification loops and end-to-end integration test suites have successfully concluded. The code changes driven by the core stack/library upgrade have been thoroughly validated against our target Kubernetes compatibility window:

  • Kubernetes v1.32 Baseline:v1.32.13 Passed (Minikube)
  • Kubernetes v1.33 Release:v1.33.12 Passed (Minikube)
  • Kubernetes v1.34 Release:v1.34.8 Passed (Minikube)
  • Kubernetes v1.35 Release:v1.35.5 Passed (Minikube)
  • Kubernetes v1.36 (Target):v1.36.1 Passed (Minikube)
  • E2E Smoke Test:v1.36.x Passed (Kind Cluster integration)

The controller compiles cleanly, code generators are verified as up-to-date (no dirty files), and the runtime behaves perfectly across all cluster environments. Ready for a final maintainer review! 🚢

@praveenrewar praveenrewar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with @joaopapereira that this is big leap and it's a leap that we need to take. PR looks good to me and the passing tests across various versions give confidence that there is no regression.
Thank you @sameerforge for working on this.

@joaopapereira joaopapereira merged commit 679ae0d into carvel-dev:develop May 19, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this to Closed in Carvel May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants