Update dependency kubernetes-sigs/kustomize to v5.8.0 #11

Open
renovate wants to merge 1 commit from renovate/kubernetes-sigs-kustomize-5.x into main
Collaborator

This PR contains the following updates:

Package Update Change
kubernetes-sigs/kustomize minor 5.5.0 -> 5.8.0

Release Notes

kubernetes-sigs/kustomize (kubernetes-sigs/kustomize)

v5.8.0

Compare Source

IMPORTANT NOTICE: REGRESSION

Due to the new features introduced in this release, a regression has occurred in the functionality that propagates namespaces to child kustomizations.
We are currently preparing a patch release, so please refrain from making changes to this version.

#​6031 (comment)

Highlights

implements to replacements value in the structured data

Now, We can edit yaml/json in yaml manifests with replacements transformer.
See #​5679

For example

## source
apiVersion: v1
kind: ConfigMap
metadata:
  name: source-configmap
data:
  HOSTNAME: www.example.com
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: target-configmap
data:
  config.json: |-
    {"config": {
      "id": "42",
      "hostname": "REPLACE_TARGET_HOSTNAME"
    }}

## replacement
replacements:
- source:
    kind: ConfigMap
    name: source-configmap
    fieldPath: data.HOSTNAME
  targets:
  - select:
      kind: ConfigMap
      name: target-configmap
    fieldPaths:
    - data.config\.json.config.hostname
fix: Propagate Namespace correctly to Helm

The long-standing bug where kustomize's namespace transformer did not pass namespaces to helmCharts has been fixed.
See #​5940

For example

## define namespace
namespace: any-namespace

helmCharts:
- name: minecraft
  repo: https://kubernetes-charts.storage.googleapis.com
  version: v1.2.0
  # namespace: any-namespace   ## propagates without additional namespace specific
  valuesFile: values.yaml

Feature

#​5679: implements to replacements value in the structured data
#​5863: Add regex support for Replacement selectors
#​5930: feat: add PatchArgs API type to populate patch options

fix

#​5940: fix: Propagate Namespace correctly to Helm
#​5971: fix: performance recession when propagating namespace to helm
#​5942: fix fnplugin storagemounts validation
#​5958: fix: make AbsorbAll conflict error more verbose
#​5961: refactor: nested format string
#​5967: Fix infinite loop in HTTP client by validating URLs before requests
#​5985: fix(kyaml/yaml): minor nil safety fix for RNode.Content etc
#​5991: Fix duplicate key error when adding multiple labels with --without-selector

Dependencies

#​5962: chore: update dependencies from security alert
#​5959: update go 1.24.6

chore

#​6007: Update kyaml to v0.21.0
#​6008: Update cmd/config to v0.21.0
#​6009: Update api to v0.21.0

v5.7.1

Compare Source

This release introduces code to replace the shlex library used for parsing arguments in the exec plugin.
If any existing manifests become corrupted, please file an issue. discussion: kubernetes/kubernetes#132593 (comment)

Dependencies

#​5943: drop shlex dependency

Chore

#​5948: Update kyaml to v0.20.1
#​5949: Update cmd/config to v0.20.1
#​5950: Update api to v0.20.1

v5.7.0

Compare Source

Feature

#​5630: Add static value source for replacement
#​5921: feat: Add images suport for Image Volumes
#​5771: fix: Allow patches with empty files with multiple newlines or comments
#​5865: feat(helm): allow the use of devel alias for helmcharts

fix

#​5846: fix: Get version from the BuildInfo.Main.Version if not found in deps and build flag
#​5859: fix: Don't panic on multiple $patch: delete strategic merge patches in a single patch file
#​5877: fix: make private one field in replacements transformer struct that had a missing JSON tag

Dependencies

#​5847: replace deplecated package github.com/google/shlex with github.com/carapace-sh/carapace-shlex
#​5873: Bump to github.com/spf13/viper v1.20.0
#​5931: Drop usage of forked copies of goyaml.v2 and goyaml.v3

chore

#​5882: Set Git messages to English for TestRemoteLoad_LocalProtocol
#​5934: Update kyaml to v0.20.0
#​5935: Update cmd/config to v0.20.0
#​5936: Update api to v0.20.0

v5.6.0

Compare Source

Announce

This release introduces a unified internal package version (v0.19.0) across the entire kustomize repository.
ref. #​5800

Chore

#​5809: fix: "edit add labels" make labels handle -f flag same as commonLabels

Dependencies

#​5825: Update to latest kube-opeapi to drop govalidator dependency
#​5830: downgrade go-difflib and go-spew to tagged releases
#​5837: Update kyaml to v0.19.0
#​5839: Update cmd/config to v0.19.0
#​5840: Update api to v0.19.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [kubernetes-sigs/kustomize](https://github.com/kubernetes-sigs/kustomize) | minor | `5.5.0` -> `5.8.0` | --- ### Release Notes <details> <summary>kubernetes-sigs/kustomize (kubernetes-sigs/kustomize)</summary> ### [`v5.8.0`](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v5.8.0) [Compare Source](https://github.com/kubernetes-sigs/kustomize/compare/kustomize/v5.7.1...kustomize/v5.8.0) ### IMPORTANT NOTICE: REGRESSION Due to the new features introduced in this release, a regression has occurred in the functionality that propagates namespaces to child kustomizations. We are currently preparing a patch release, so please refrain from making changes to this version. [#&#8203;6031 (comment)](https://github.com/kubernetes-sigs/kustomize/issues/6031#issuecomment-3594321206) ### Highlights ##### implements to replacements value in the structured data Now, We can edit yaml/json in yaml manifests with replacements transformer. See [#&#8203;5679](https://github.com/kubernetes-sigs/kustomize/issues/5679) ##### For example ```yaml ## source apiVersion: v1 kind: ConfigMap metadata: name: source-configmap data: HOSTNAME: www.example.com --- apiVersion: v1 kind: ConfigMap metadata: name: target-configmap data: config.json: |- {"config": { "id": "42", "hostname": "REPLACE_TARGET_HOSTNAME" }} ``` ```yaml ## replacement replacements: - source: kind: ConfigMap name: source-configmap fieldPath: data.HOSTNAME targets: - select: kind: ConfigMap name: target-configmap fieldPaths: - data.config\.json.config.hostname ``` ##### fix: Propagate Namespace correctly to Helm The long-standing bug where kustomize's namespace transformer did not pass namespaces to helmCharts has been fixed. See [#&#8203;5940](https://github.com/kubernetes-sigs/kustomize/issues/5940) ##### For example ```yaml ## define namespace namespace: any-namespace helmCharts: - name: minecraft repo: https://kubernetes-charts.storage.googleapis.com version: v1.2.0 # namespace: any-namespace ## propagates without additional namespace specific valuesFile: values.yaml ``` #### Feature [#&#8203;5679](https://github.com/kubernetes-sigs/kustomize/issues/5679): implements to replacements value in the structured data [#&#8203;5863](https://github.com/kubernetes-sigs/kustomize/issues/5863): Add regex support for Replacement selectors [#&#8203;5930](https://github.com/kubernetes-sigs/kustomize/issues/5930): feat: add PatchArgs API type to populate patch options #### fix [#&#8203;5940](https://github.com/kubernetes-sigs/kustomize/issues/5940): fix: Propagate Namespace correctly to Helm [#&#8203;5971](https://github.com/kubernetes-sigs/kustomize/issues/5971): fix: performance recession when propagating namespace to helm [#&#8203;5942](https://github.com/kubernetes-sigs/kustomize/issues/5942): fix fnplugin storagemounts validation [#&#8203;5958](https://github.com/kubernetes-sigs/kustomize/issues/5958): fix: make AbsorbAll conflict error more verbose [#&#8203;5961](https://github.com/kubernetes-sigs/kustomize/issues/5961): refactor: nested format string [#&#8203;5967](https://github.com/kubernetes-sigs/kustomize/issues/5967): Fix infinite loop in HTTP client by validating URLs before requests [#&#8203;5985](https://github.com/kubernetes-sigs/kustomize/issues/5985): fix(kyaml/yaml): minor nil safety fix for RNode.Content etc [#&#8203;5991](https://github.com/kubernetes-sigs/kustomize/issues/5991): Fix duplicate key error when adding multiple labels with --without-selector #### Dependencies [#&#8203;5962](https://github.com/kubernetes-sigs/kustomize/issues/5962): chore: update dependencies from security alert [#&#8203;5959](https://github.com/kubernetes-sigs/kustomize/issues/5959): update go 1.24.6 #### chore [#&#8203;6007](https://github.com/kubernetes-sigs/kustomize/issues/6007): Update kyaml to v0.21.0 [#&#8203;6008](https://github.com/kubernetes-sigs/kustomize/issues/6008): Update cmd/config to v0.21.0 [#&#8203;6009](https://github.com/kubernetes-sigs/kustomize/issues/6009): Update api to v0.21.0 ### [`v5.7.1`](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v5.7.1) [Compare Source](https://github.com/kubernetes-sigs/kustomize/compare/kustomize/v5.7.0...kustomize/v5.7.1) This release introduces code to replace the shlex library used for parsing arguments in the exec plugin. If any existing manifests become corrupted, please file an issue. discussion: [kubernetes/kubernetes#132593 (comment)](https://github.com/kubernetes/kubernetes/pull/132593#discussion_r2178116543) #### Dependencies [#&#8203;5943](https://github.com/kubernetes-sigs/kustomize/issues/5943): drop shlex dependency #### Chore [#&#8203;5948](https://github.com/kubernetes-sigs/kustomize/issues/5948): Update kyaml to v0.20.1 [#&#8203;5949](https://github.com/kubernetes-sigs/kustomize/issues/5949): Update cmd/config to v0.20.1 [#&#8203;5950](https://github.com/kubernetes-sigs/kustomize/issues/5950): Update api to v0.20.1 ### [`v5.7.0`](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v5.7.0) [Compare Source](https://github.com/kubernetes-sigs/kustomize/compare/kustomize/v5.6.0...kustomize/v5.7.0) #### Feature [#&#8203;5630](https://github.com/kubernetes-sigs/kustomize/pull/5630): Add static value source for replacement [#&#8203;5921](https://github.com/kubernetes-sigs/kustomize/pull/5921): feat: Add images suport for Image Volumes [#&#8203;5771](https://github.com/kubernetes-sigs/kustomize/pull/5771): fix: Allow patches with empty files with multiple newlines or comments [#&#8203;5865](https://github.com/kubernetes-sigs/kustomize/pull/5865): feat(helm): allow the use of devel alias for helmcharts #### fix [#&#8203;5846](https://github.com/kubernetes-sigs/kustomize/pull/5846): fix: Get version from the BuildInfo.Main.Version if not found in deps and build flag [#&#8203;5859](https://github.com/kubernetes-sigs/kustomize/pull/5859): fix: Don't panic on multiple $patch: delete strategic merge patches in a single patch file [#&#8203;5877](https://github.com/kubernetes-sigs/kustomize/pull/5877): fix: make private one field in replacements transformer struct that had a missing JSON tag #### Dependencies [#&#8203;5847](https://github.com/kubernetes-sigs/kustomize/issues/5847): replace deplecated package github.com/google/shlex with github.com/carapace-sh/carapace-shlex [#&#8203;5873](https://github.com/kubernetes-sigs/kustomize/issues/5873): Bump to github.com/spf13/viper v1.20.0 [#&#8203;5931](https://github.com/kubernetes-sigs/kustomize/issues/5931): Drop usage of forked copies of goyaml.v2 and goyaml.v3 #### chore [#&#8203;5882](https://github.com/kubernetes-sigs/kustomize/pull/5882): Set Git messages to English for TestRemoteLoad\_LocalProtocol [#&#8203;5934](https://github.com/kubernetes-sigs/kustomize/issues/5934): Update kyaml to v0.20.0 [#&#8203;5935](https://github.com/kubernetes-sigs/kustomize/issues/5935): Update cmd/config to v0.20.0 [#&#8203;5936](https://github.com/kubernetes-sigs/kustomize/issues/5936): Update api to v0.20.0 ### [`v5.6.0`](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v5.6.0) [Compare Source](https://github.com/kubernetes-sigs/kustomize/compare/kustomize/v5.5.0...kustomize/v5.6.0) #### Announce This release introduces a unified internal package version (`v0.19.0`) across the entire kustomize repository. ref. [#&#8203;5800](https://github.com/kubernetes-sigs/kustomize/issues/5800) #### Chore [#&#8203;5809](https://github.com/kubernetes-sigs/kustomize/issues/5809): fix: "edit add labels" make labels handle -f flag same as commonLabels #### Dependencies [#&#8203;5825](https://github.com/kubernetes-sigs/kustomize/issues/5825): Update to latest kube-opeapi to drop govalidator dependency [#&#8203;5830](https://github.com/kubernetes-sigs/kustomize/issues/5830): downgrade go-difflib and go-spew to tagged releases [#&#8203;5837](https://github.com/kubernetes-sigs/kustomize/issues/5837): Update kyaml to v0.19.0 [#&#8203;5839](https://github.com/kubernetes-sigs/kustomize/issues/5839): Update cmd/config to v0.19.0 [#&#8203;5840](https://github.com/kubernetes-sigs/kustomize/issues/5840): Update api to v0.19.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zOS40IiwidXBkYXRlZEluVmVyIjoiNDIuMzkuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGUiXX0=-->
renovate added 1 commit 2025-12-10 14:00:57 +11:00
kernald was assigned by renovate 2025-12-10 14:00:58 +11:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/kubernetes-sigs-kustomize-5.x:renovate/kubernetes-sigs-kustomize-5.x
git checkout renovate/kubernetes-sigs-kustomize-5.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff renovate/kubernetes-sigs-kustomize-5.x
git checkout renovate/kubernetes-sigs-kustomize-5.x
git rebase main
git checkout main
git merge --ff-only renovate/kubernetes-sigs-kustomize-5.x
git checkout renovate/kubernetes-sigs-kustomize-5.x
git rebase main
git checkout main
git merge --no-ff renovate/kubernetes-sigs-kustomize-5.x
git checkout main
git merge --squash renovate/kubernetes-sigs-kustomize-5.x
git checkout main
git merge --ff-only renovate/kubernetes-sigs-kustomize-5.x
git checkout main
git merge renovate/kubernetes-sigs-kustomize-5.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kernald/containers#11
No description provided.