chore(deps): update dependency kubernetes-sigs/kustomize to v5 #17

Merged
xoxys merged 1 commits from renovate/kubernetes-sigs-kustomize-5.x into main 2023-02-02 20:55:18 +00:00
Member

This PR contains the following updates:

Package Update Change
kubernetes-sigs/kustomize major v4.5.7 -> v5.0.0

Release Notes

kubernetes-sigs/kustomize

v5.0.0

Compare Source

🎉The Kustomize team is so excited to release version 5.0! 🎉

This release is packed with exciting features and improvements. The full list is below, but here are some of our favorites:

  • kustomize localize: a brand new alpha command that localizes remote content. You’ll be able to build the localized kustomization without network access and performance delays! Please give it a try and let us know what you think in #​4996. See more details in its entry under Features below.
  • support for four new Helm fields, by popular request: additionalValuesFiles, skipTests, apiVersions and skipTests
  • A new sortOptions kustomization field gives you fine-grained control over resource ordering in build output
  • Significant performance improvements!

A HUGE thank you to everyone who contributed to this release! 🙇‍♀️

Breaking changes

  • #​4930: Remove deprecated alpha cfg and fn commands: kustomize fn sink, kustomize fn source, kustomize fn wrap, kustomize fn xargs, kustomize cfg annotate, kustomize cfg create-setter, kustomize cfg delete-setter, kustomize cfg delete-substitution, kustomize cfg create-substitution, kustomize cfg fmt, kustomize cfg init, kustomize cfg list-setters, kustomize cfg merge, kustomize cfg merge3, kustomize cfg set.
  • #​4983, #​4954, #​4922, #​4900, #​4885: Warning: We made major improvements to the maintainability of the URL-parsing code for remote URLs, fixing several bugs in the process. We have test coverage for backwards-compatibility with all documented supported URLs, but if you experience a regression with a remote URL, please file an issue.
    • #​4985: If you previously included .git in an AWS or Azure URL, we will no longer automatically remove that suffix.
    • #​4954: Drop support for using gh: as a host (e.g. gh:kubernetes-sigs/kustomize). We were unable to find any usage of or basis for this and believe it may have been targeting a custom gitconfig shorthand syntax.
  • #​4911: Drop support for a very old, legacy style of patches. patches used to be allowed to be used as an alias for patchesStrategicMerge in kustomize v3. You now have to use patchesStrategicMerge explicitly, or update to the new syntax supported by patches. See examples in the PR description of #​4911.
  • #​4731: Remove a potential build-time side-effect in ConfigMapGenerator and SecretGenerator, which loaded values from the local environment under some circumstances, breaking kustomize build's side-effect-free promise. While this behavior was never intended, we deprecated it and are announcing it as a breaking change since it existed for a long time. See also the Eschewed Features documentation.
  • #​4929: Duplicate fields in Kustomization files will now result in an error instead of them silently being ignored in an undefined order.

Deprecations

  • #​4723, #​4923: We are deprecating the following kustomization fields. These fields will never be removed from the kustomize.config.k8s.io/v1beta1 Kustomization API, but they will not be included in the kustomize.config.k8s.io/v1 Kustomization API. When Kustomization v1 is available, we will announce the deprecation of the v1beta1 version. There will be at least two releases between deprecation and removal of Kustomization v1beta1 support from the kustomize CLI, and removal itself will happen in a future major version bump.
    • patchesStrategicMerge. Please use patches instead
    • patchesJson6902. Please use patches instead
    • vars. Please use replacements instead.
    • imageTags. This is an alias for images, please switch to images.
  • #​5000: The --short flag for kustomize version is deprecated.
  • #​4954: Deprecate RepoSpec git:: prefix, which is invalid. Kustomize currently strips it, but will stop doing so in a future release.

Features

Bug Fixes/performance improvements

  • #​4863: Fix RepoSpec query extraction
  • #​4985: Remove forced .git suffix in RepoSpec
    • Arbitrary git servers that do not follow the .git directory naming convention can now be used with Kustomize.
    • The .git suffix no longer incorrectly appears in origin annotations in some cases.
  • #​4791, #​4944, #​4809: Significant performance improvements from refactoring metadata handling in the api and kyaml modules
  • #​4789: Replacements now throw errors on invalid targets
  • #​4890: Fix null value handling when applying strategic merge patches. A null in the patch is a deletion directive, but a null in the target should be preserved.
  • #​4654: The working directory of exec KRM-style functions is now the kustomization root that called it. This fixes a bug where KRM exec function executables were looked up incorrectly in base/overlay contexts.
  • #​4751, #​4805: When using labels.includeTemplates, create template/metadata if not present.
  • #​4834: Respect options.disableNameSuffixHash in configmap and secret generator in overlays
  • #​4919: Allow overriding of name suffix transformer default configuration
  • #​4895: Name references to local-only objects are now correctly resolved before the objects are removed from the set to be printed.
Dependencies
  • #​4877: Update minimum Go version to Go 1.19
  • #​4830: Update kyaml's dependency swag to v0.22.3
  • #​4960: Update sigs.k8s.io/yaml to v1.3.0
  • #​4965: Bump k8s.io/kube-openapi to remove archived dependency
  • #​4889: All module net and text dependent package CVE-2022-41717 and CVE-2022-32149 vulnerabilities
  • #​4970: Replace github/pkg/errors with sigs.k8s.io/kustomize/kyaml/errors

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) | major | `v4.5.7` -> `v5.0.0` | --- ### Release Notes <details> <summary>kubernetes-sigs/kustomize</summary> ### [`v5.0.0`](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v5.0.0) [Compare Source](https://github.com/kubernetes-sigs/kustomize/compare/kustomize/v4.5.7...kustomize/v5.0.0) 🎉The Kustomize team is so excited to release version 5.0! 🎉 This release is packed with exciting features and improvements. The full list is below, but here are some of our favorites: - `kustomize localize`: a brand new alpha command that localizes remote content. You’ll be able to `build` the localized kustomization without network access and performance delays! Please give it a try and let us know what you think in [#&#8203;4996](https://github.com/kubernetes-sigs/kustomize/issues/4996). See more details in its entry under Features below. - support for four new Helm fields, by popular request: `additionalValuesFiles`, `skipTests`, `apiVersions` and `skipTests` - A new [`sortOptions` kustomization field](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/sortoptions/) gives you fine-grained control over resource ordering in build output - Significant performance improvements! A HUGE thank you to everyone who contributed to this release! 🙇‍♀️ #### Breaking changes - [#&#8203;4930](https://github.com/kubernetes-sigs/kustomize/issues/4930): Remove deprecated alpha cfg and fn commands: `kustomize fn sink`, `kustomize fn source`, `kustomize fn wrap`, `kustomize fn xargs`, `kustomize cfg annotate`, `kustomize cfg create-setter`, `kustomize cfg delete-setter`, `kustomize cfg delete-substitution`, `kustomize cfg create-substitution`, `kustomize cfg fmt`, `kustomize cfg init`, `kustomize cfg list-setters`, `kustomize cfg merge`, `kustomize cfg merge3`, `kustomize cfg set`. - [#&#8203;4983](https://github.com/kubernetes-sigs/kustomize/issues/4983), [#&#8203;4954](https://github.com/kubernetes-sigs/kustomize/issues/4954), [#&#8203;4922](https://github.com/kubernetes-sigs/kustomize/issues/4922), [#&#8203;4900](https://github.com/kubernetes-sigs/kustomize/issues/4900), [#&#8203;4885](https://github.com/kubernetes-sigs/kustomize/issues/4885): Warning: We made major improvements to the maintainability of the URL-parsing code for remote URLs, fixing several bugs in the process. We have test coverage for backwards-compatibility with all documented supported URLs, but if you experience a regression with a remote URL, please file an issue. - [#&#8203;4985](https://github.com/kubernetes-sigs/kustomize/issues/4985): If you previously included .git in an AWS or Azure URL, we will no longer automatically remove that suffix. - [#&#8203;4954](https://github.com/kubernetes-sigs/kustomize/issues/4954): Drop support for using `gh:` as a host (e.g. `gh:kubernetes-sigs/kustomize`). We were unable to find any usage of or basis for this and believe it may have been targeting a custom gitconfig shorthand syntax. - [#&#8203;4911](https://github.com/kubernetes-sigs/kustomize/issues/4911): Drop support for a very old, legacy style of patches. `patches` used to be allowed to be used as an alias for `patchesStrategicMerge` in kustomize v3. You now have to use `patchesStrategicMerge` explicitly, or update to the new syntax supported by `patches`. See examples in the PR description of [#&#8203;4911](https://github.com/kubernetes-sigs/kustomize/issues/4911). - [#&#8203;4731](https://github.com/kubernetes-sigs/kustomize/issues/4731): Remove a potential build-time side-effect in ConfigMapGenerator and SecretGenerator, which loaded values from the local environment under some circumstances, breaking `kustomize build`'s side-effect-free promise. While this behavior was never intended, we deprecated it and are announcing it as a breaking change since it existed for a long time. See also the Eschewed Features documentation. - [#&#8203;4929](https://github.com/kubernetes-sigs/kustomize/issues/4929): Duplicate fields in Kustomization files will now result in an error instead of them silently being ignored in an undefined order. #### Deprecations - [#&#8203;4723](https://github.com/kubernetes-sigs/kustomize/issues/4723), [#&#8203;4923](https://github.com/kubernetes-sigs/kustomize/issues/4923): We are deprecating the following kustomization fields. **These fields will never be removed from the kustomize.config.k8s.io/v1beta1 Kustomization API**, but they will not be included in the kustomize.config.k8s.io/v1 Kustomization API. When Kustomization v1 is available, we will announce the deprecation of the v1beta1 version. There will be at least two releases between deprecation and removal of Kustomization v1beta1 support from the kustomize CLI, and removal itself will happen in a future major version bump. - patchesStrategicMerge. Please use [patches](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/patches/) instead - patchesJson6902. Please use [patches](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/patches/) instead - vars. Please use [replacements](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/replacements/) instead. - imageTags. This is an alias for [images](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/images/), please switch to images. - [#&#8203;5000](https://github.com/kubernetes-sigs/kustomize/issues/5000): The `--short` flag for `kustomize version` is deprecated. - [#&#8203;4954](https://github.com/kubernetes-sigs/kustomize/issues/4954): Deprecate RepoSpec `git::` prefix, which is invalid. Kustomize currently strips it, but will stop doing so in a future release. #### Features - [#&#8203;4652](https://github.com/kubernetes-sigs/kustomize/issues/4652): New command `kustomize localize`, to download any remote content from your kustomization directory and create a new, localized copy with file paths to the local content replacing the URLs. Docs pending: https://github.com/kubernetes-sigs/cli-experimental/pull/313. Please leave your feedback here: https://github.com/kubernetes-sigs/kustomize/issues/4996 - [#&#8203;4019](https://github.com/kubernetes-sigs/kustomize/issues/4019): New [kustomization field `sortOptions`](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/sortoptions/), that lets you configure the sort order of resources. - [#&#8203;4733](https://github.com/kubernetes-sigs/kustomize/issues/4733): `kustomize edit fix` converts `patchesStrategicMerge` to `patches` - [#&#8203;4947](https://github.com/kubernetes-sigs/kustomize/issues/4947): Allow fieldspecs (used in advanced transformer configuration) to start with a slash. - [#&#8203;5000](https://github.com/kubernetes-sigs/kustomize/issues/5000): Output of `kustomize version` is improved. YAML and JSON formats are now available via the new `--output` flag. - [#&#8203;4986](https://github.com/kubernetes-sigs/kustomize/issues/4986): Repospec: support ssh urls with ssh certificates - [#&#8203;4926](https://github.com/kubernetes-sigs/kustomize/issues/4926), [#&#8203;4808](https://github.com/kubernetes-sigs/kustomize/issues/4808): Support for more `helm template` args in the `helmCharts` field: `additionalValuesFiles`, `skipTests`, `apiVersions` and `skipTests`. [#&#8203;4886](https://github.com/kubernetes-sigs/kustomize/issues/4886): Wildcard support for creation in ReplacementTransformer #### Bug Fixes/performance improvements - [#&#8203;4863](https://github.com/kubernetes-sigs/kustomize/issues/4863): Fix RepoSpec query extraction - [#&#8203;4985](https://github.com/kubernetes-sigs/kustomize/issues/4985): Remove forced .git suffix in RepoSpec - Arbitrary git servers that do not follow the .git directory naming convention can now be used with Kustomize. - The .git suffix no longer incorrectly appears in origin annotations in some cases. - [#&#8203;4791](https://github.com/kubernetes-sigs/kustomize/issues/4791), [#&#8203;4944](https://github.com/kubernetes-sigs/kustomize/issues/4944), [#&#8203;4809](https://github.com/kubernetes-sigs/kustomize/issues/4809): Significant performance improvements from refactoring metadata handling in the api and kyaml modules - [#&#8203;4789](https://github.com/kubernetes-sigs/kustomize/issues/4789): Replacements now throw errors on invalid targets - [#&#8203;4890](https://github.com/kubernetes-sigs/kustomize/issues/4890): Fix null value handling when applying strategic merge patches. A null in the patch is a deletion directive, but a null in the target should be preserved. - [#&#8203;4654](https://github.com/kubernetes-sigs/kustomize/issues/4654): The working directory of exec KRM-style functions is now the kustomization root that called it. This fixes a bug where KRM exec function executables were looked up incorrectly in base/overlay contexts. - [#&#8203;4751](https://github.com/kubernetes-sigs/kustomize/issues/4751), [#&#8203;4805](https://github.com/kubernetes-sigs/kustomize/issues/4805): When using `labels.includeTemplates`, create template/metadata if not present. - [#&#8203;4834](https://github.com/kubernetes-sigs/kustomize/issues/4834): Respect `options.disableNameSuffixHash` in configmap and secret generator in overlays - [#&#8203;4919](https://github.com/kubernetes-sigs/kustomize/issues/4919): Allow overriding of name suffix transformer default configuration - [#&#8203;4895](https://github.com/kubernetes-sigs/kustomize/issues/4895): Name references to local-only objects are now correctly resolved before the objects are removed from the set to be printed. ##### Dependencies - [#&#8203;4877](https://github.com/kubernetes-sigs/kustomize/issues/4877): Update minimum Go version to Go 1.19 - [#&#8203;4830](https://github.com/kubernetes-sigs/kustomize/issues/4830): Update kyaml's dependency swag to v0.22.3 - [#&#8203;4960](https://github.com/kubernetes-sigs/kustomize/issues/4960): Update sigs.k8s.io/yaml to v1.3.0 - [#&#8203;4965](https://github.com/kubernetes-sigs/kustomize/issues/4965): Bump k8s.io/kube-openapi to remove archived dependency - [#&#8203;4889](https://github.com/kubernetes-sigs/kustomize/issues/4889): All module net and text dependent package CVE-2022-41717 and CVE-2022-32149 vulnerabilities - [#&#8203;4970](https://github.com/kubernetes-sigs/kustomize/issues/4970): Replace github/pkg/errors with sigs.k8s.io/kustomize/kyaml/errors </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTguMiIsInVwZGF0ZWRJblZlciI6IjM0LjExOC4yIn0=-->
renovator added 1 commit 2023-02-02 17:34:39 +00:00
chore(deps): update dependency kubernetes-sigs/kustomize to v5
All checks were successful
continuous-integration/drone/pr Build is passing
758fadc431
xoxys merged commit b28df45906 into main 2023-02-02 20:55:18 +00:00
xoxys deleted branch renovate/kubernetes-sigs-kustomize-5.x 2023-02-02 20:55:18 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
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: container/kube-tools#17
No description provided.