Skip to content

chore: update kyaml/kustomize API versions to current versions#4480

Merged
liamfallon merged 2 commits intokptdev:mainfrom
SurbhiAgarwal1:fix/update-kustomize-deps-4406
Apr 21, 2026
Merged

chore: update kyaml/kustomize API versions to current versions#4480
liamfallon merged 2 commits intokptdev:mainfrom
SurbhiAgarwal1:fix/update-kustomize-deps-4406

Conversation

@SurbhiAgarwal1
Copy link
Copy Markdown
Contributor

Description

This PR updates the kyaml/kustomize API and k8s dependencies to their current versions as requested in issue #4406.

  • Upgrade sigs.k8s.io/kustomize/api from v0.20.1 to v0.21.0
  • Upgrade sigs.k8s.io/kustomize/kyaml from v0.20.1 to v0.21.0
  • Upgrade k8s.io/api from v0.34.1 to v0.35.0
  • Upgrade k8s.io/apimachinery from v0.34.1 to v0.35.0
  • Upgrade k8s.io/kubectl from v0.34.1 to v0.35.0
  • Run go mod tidy to resolve transitive dependencies

Motivation

The catalog functions were using outdated versions of kyaml and kustomize API. Updating ensures compatibility with the latest Kubernetes APIs and access to bug fixes in newer versions.

Testing

  • Zero compilation errors across the repository
  • All catalog functions remain compatible with the new API versions
  • No breaking changes encountered

Fixes #4406

- Upgrade sigs.k8s.io/kustomize/api from v0.20.1 to v0.21.0
- Upgrade sigs.k8s.io/kustomize/kyaml from v0.20.1 to v0.21.0
- Upgrade k8s.io/api from v0.34.1 to v0.35.0
- Upgrade k8s.io/apimachinery from v0.34.1 to v0.35.0
- Upgrade k8s.io/kubectl from v0.34.1 to v0.35.0
- Run go mod tidy to resolve transitive dependencies

Resolves kptdev#4406

Signed-off-by: SurbhiAgarwal1 <agarwalsurbhi1807@gmail.com>
Copilot AI review requested due to automatic review settings April 13, 2026 22:28
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 13, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 6f02542
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/69e2056060bc270008bd320e
😎 Deploy Preview https://deploy-preview-4480--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copy link
Copy Markdown
Contributor

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

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

The PR itself is fine. Let's discuss this at the community meeting tomorrow to see if it's OK to step the k8s/kustomize versions in kpt.

We should check the versions in the krm functions and in the SDK as well

We also have a golang bump coming in #4474, so we have a few updates on dependencies coming.

@SurbhiAgarwal1
Copy link
Copy Markdown
Contributor Author

Hi @liamfallon , Sounds like a good plan. Let's definitely discuss it at the community meeting tomorrow. In the meantime, I can start checking the k8s/kustomize versions currently used in the KRM functions and the SDK so we have that information ready for the discussion. Just let me know

Copilot AI review requested due to automatic review settings April 17, 2026 10:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dosubot dosubot Bot added the lgtm label Apr 21, 2026
@liamfallon liamfallon merged commit 0eb10e0 into kptdev:main Apr 21, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update kyaml/kustomize api versions to current versions in catalog functions.

4 participants