This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
Update module sigs.k8s.io/kustomize/kustomize/v4 to v5 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4.5.7
->v5.1.0
Release Notes
kubernetes-sigs/kustomize (sigs.k8s.io/kustomize/kustomize/v4)
v5.1.0
Compare Source
Kustomize is blocked on releasing for windows and darwin ARM until https://github.com/kubernetes-sigs/kustomize/issues/5220 is resolved. If you are interested in fixing it, please leave ideas on that issue for how we can resolve it.
Highlights
Components are now applied after generators: https://github.com/kubernetes-sigs/kustomize/pull/5170
We made this change cautiously as we want to avoid user friction when updating kustomize; however we felt that it is a bug that resources from
resources
and resources from generators are treated differently. Given that components is currently an alpha feature, we felt that now was the time to adjust if ever.We are currently working on on https://github.com/kubernetes-sigs/kustomize/issues/4402, which will make the ordering of
resources
,components
, and other generators customizable in the kustomization file. Please use that issue for tracking if you are blocked from upgrading kustomize for this reason, and we hope to have it available soon.See https://github.com/kubernetes-sigs/kustomize/issues/5141 for more detailed discussion.
Bug fixes:
#5030:
kustomize edit
will return an error if there is no matching path#5170: components are now applied after generators
#4949: error if kustomization file is empty
Dependency updates
#5186: Update gnostic dependency with gnostic-models
#5187: Bump to go 1.20
#5212: pin to kyaml v0.14.3
#5213: pin to cmd/config v0.11.3
#5214: pin to api 0.14.0
v5.0.3
Compare Source
This release reverts the regression with the helm plugin that was introduced in v5.0.2.
Built with go 1.19.9 to remove CVE vulnerabilities.
Changelog
https://github.com/kubernetes-sigs/kustomize/pull/5164: Revert "Fix using same helm chart with different versions"
v5.0.2
Compare Source
Built with go 1.19.9 to resolve CVE vulnerabilities.
Known issues:
https://github.com/kubernetes-sigs/kustomize/issues/5163: kustomize 5.0.2 breaks helmCharts w/ chartHome. We are in the process of reverting the breaking change and rereleasing kustomize. Users of the helmCharts plugin with local charts are advised to skip this release.
Changelog
#5159: pin to kyaml v0.14.2
#5160: pin to cmd/config v0.11.2
#5161: pin to api 0.13.3
v5.0.1
Compare Source
Bug fixes
#5048: Fix a regression causing warning messages to be intermingled with Kustomize build output on stdout
#5073: Revert strict decoding of Kustomization files due to regression in anchor handling
Dependencies
#5088: Update kyaml to v0.14.1
#5089: Update cmd/config to v0.11.1
#5090: Update api to v0.13.2
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 tobuild
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.additionalValuesFiles
,skipTests
,apiVersions
andnameTemplate
sortOptions
kustomization field gives you fine-grained control over resource ordering in build outputA HUGE thank you to everyone who contributed to this release! 🙇♀️
Breaking changes
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
./
to replace the .git for the URL to properly resolve.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.patches
used to be allowed to be used as an alias forpatchesStrategicMerge
in kustomize v3. You now have to usepatchesStrategicMerge
explicitly, or update to the new syntax supported bypatches
. See examples in the PR description of #4911.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.Deprecations
--short
flag forkustomize version
is deprecated.git::
prefix, which is invalid. Kustomize currently strips it, but will stop doing so in a future release.Features
kustomize localize
command 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. Please leave your feedback here: https://github.com/kubernetes-sigs/kustomize/issues/4996sortOptions
, that lets you configure the sort order of resources.kustomize edit fix
convertspatchesStrategicMerge
topatches
kustomize version
is improved. YAML and JSON formats are now available via the new--output
flag.helm template
args in thehelmCharts
field:additionalValuesFiles
,skipTests
,apiVersions
andnameTemplate
.#4886: Wildcard support for creation in ReplacementTransformer
Bug Fixes/performance improvements
labels.includeTemplates
, create template/metadata if not present.options.disableNameSuffixHash
in configmap and secret generator in overlaysDependencies
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.
This PR has been generated by Mend Renovate. View repository job log here.