chore(deps): update dependency kustomize to v5 #275
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:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
kubernetes-sigs/kustomize (kustomize)
v5.5.0
Compare Source
Breaking change
A starlark support for krm functions was removed to cleanup dependencies. https://github.com/kubernetes-sigs/kustomize/pull/5768
This feature was deprecated 3 years ago and removed because there was no desire to continue using it.
https://github.com/kubernetes-sigs/kustomize/pull/5768#issuecomment-2374680641
Feature
#5751: Add
--helm-debug
Flag to Kustomize for Enhanced Helm DebuggingFix Bugs
#5458: Sort built-in Namespace kind before CRDs with the same name
#5745: Add Annotation to Control Inline List Conversion in Kustomize Resources"
Dependencies
#5763: Update go 1.22.7
#5781: Update kyaml to v0.18.1
#5782: Update cmd/config to v0.15.0
#5783: Update api to v0.18.0
v5.4.3
Compare Source
Caution
The
kustomize localize
subcommand(this subcommand is now in thebeta
stage) now verifies the success ofkustomize build
when executed.If you are using the missing manifests, maybe you failed to download them with the
localize
subcommand. Please use the--no-verify
flag to skip validation steps.#5544: Run kustomize build with kustomize localize and add a no-verify flag.
Fix Bugs
#5682: fix: include label in templates when adding by cli
#5689: Fix sortOptions removal when running edit command
chore
#5506: fix some comments
#5718: fix lint error in kustomizationfile_test.go
Dependencies
#5734: Update kyaml to v0.17.2
#5735: Update cmd/config to v0.14.2
#5736: Update api to v0.17.3
v5.4.2
Compare Source
Feature
#5294: feat: localize absolute paths
#5556: feat: support labels key in transformer configuration
chore
#5671: refactor: string in slice is now part of stdlib
#5681: chore: remove unused function
#5688: refactor: function in stdlib now
Dependencies
#5672: chore(deps): bump dependencies of kustomize + sync go workspace
#5680: chore: restore version for github.com/asaskevich/govalidator
#5702: Update kyaml to v0.17.1
#5703: Update cmd/config to v0.14.1
#5704: Update api to v0.17.2
v5.4.1
Compare Source
This is a patch of kustomize v5.4.0 and should fix the
kustomize version
subcommand issues in its assets.kustomize v5.4.1
https://github.com/kubernetes-sigs/kustomize/pull/5644: fix version subcommand is not working after release build
kustomize v5.4.0
Breaking changes
https://github.com/kubernetes-sigs/kustomize/pull/5519: Fix null YAML values being replaced by "null"
kustomize requires Go 1.21 or higher at build
#5567: fix 'golang.org/x/exp/slices' dependencies
Features
#5411: Add --load-restrictor completion
#5467: feat: edit set secret
More better error handling
Bug fixes/performance improvements
#5234: fix edit set image to parse both tag and digest
#5621: Use require for Error and NoError
Dependencies
#5479: Revert "Switch to json-patch v5"
#5541: Use canonical json-patch v4 import
#5615: update dependencies google.golang.org/[email protected]
update internal Dependencies
#5639: Update kyaml to v0.17.0
#5640: Update cmd/config to v0.14.0
#5641: Update api to v0.17.0
cleanup Dependencies
#5044: Remove non-essential dependency
imdario/mergo
#5567: fix 'golang.org/x/exp/slices' dependencies
#5627: Remove klog/v1 dependencies
chore
#5495: chore: move removetest.go to the internal package
#5518: Update owners file
#5622: Pin tool versions with hack/go.mod
v5.4.0
Compare Source
Known issue: The
kustomize version
command was broken in this release. Please use more new releases.Breaking changes
https://github.com/kubernetes-sigs/kustomize/pull/5519: Fix null YAML values being replaced by "null"
Features
#5411: Add --load-restrictor completion
#5467: feat: edit set secret
More better error handling
Bug fixes/performance improvements
#5234: fix edit set image to parse both tag and digest
#5621: Use require for Error and NoError
Dependencies
#5479: Revert "Switch to json-patch v5"
#5541: Use canonical json-patch v4 import
#5615: update dependencies google.golang.org/[email protected]
update internal Dependencies
#5639: Update kyaml to v0.17.0
#5640: Update cmd/config to v0.14.0
#5641: Update api to v0.17.0
cleanup Dependencies
#5044: Remove non-essential dependency
imdario/mergo
#5567: fix 'golang.org/x/exp/slices' dependencies
#5627: Remove klog/v1 dependencies
chore
#5495: chore: move removetest.go to the internal package
#5518: Update owners file
#5622: Pin tool versions with hack/go.mod
v5.3.0
Compare Source
#5211: Fix nil pointer dereferencing when converting
vars
toreplacements
#5270: helm: add support for kube-version and add cli args for both kube-version and api-versions
#5391: feat: edit set configmap
#5402: release cleanup, unpin the modules
#5409: refactor: move reusable bits in preparation for new 'edit set' commands
#5412: Use upstream go-yaml fork and remove our internal one
#5421: Replace gopkg.in/yaml.v2 with sigs.k8s.io/yaml/goyaml.v2
#5424: Run go work sync
#5430: fix: handle empty namespace as default
#5454: fix: support namespace flag on edit remove secret/configmap
#5455: fix: flaky ConfigMap/Secret args tests
#5456: chore: rename files to match package pattern
#5475: Update kyaml to v0.16.0
#5476: Update cmd/config to v0.13.0
#5477: Update api to v0.16.0
v5.2.1
Compare Source
This is a patch of kustomize v5.2.0 and should fix the directory formatting issues in its assets.
Release notes from v5.2.0 (Delta from v5.1.1)
Currently, Kustomize has already resolved that block on releasing for Windows and Darwin ARM(https://github.com/kubernetes-sigs/kustomize/issues/5220). Now, We can release those architecture binaries.
New Features for
kustomize build
patches
accept a patch file with multiple patches(#5194)New Features for
kustomize edit
subcommands#4486: add: "edit add labels" command adds an option for labels without selector
#5327: feat: add remove configmap command
#5333: Add --no-verify flag to edit add resource command
#5344: feat: add remove secret command
#5367: fix: add namespace option to 'edit add configmap' command
Bug fixes
#5342: Update imdario/mergo to v0.3.13
#5196: fix: patch additions honor source key style
chore
#5345: docs: update remove configmap comment
#5193: [refactor]: Internalize loader api
#5315: refactor: change "add configmap/secret" commands to reuse code and improve tests
Dependency updates
#5254: release cleanup
#5197: Switch to json-patch v5
#5393: Update kyaml to v0.15.0
#5394: Update cmd/config to v0.12.0
#5395: Update api to v0.15.0
v5.2.0
Compare Source
Known issue: The directory format of the kustomize binary asset has unintentionally changed. We have fixed this in kustomize v5.2.1. Users who depend on the directory structure or use the install_kustomize.sh script should skip this release.
Currently, Kustomize has already resolved that block on releasing for Windows and Darwin ARM(https://github.com/kubernetes-sigs/kustomize/issues/5220). Now, We can release those architecture binaries.
New Feature
patches
accept a patch file with multiple patches(#5194)New Feature for
kustomize edit
subcommands#4486: add: "edit add labels" command adds an option for labels without selector
#5327: feat: add remove configmap command
#5333: Add --no-verify flag to edit add resource command
#5344: feat: add remove secret command
#5367: fix: add namespace option to 'edit add configmap' command
Bug fixes
#5342: Update imdario/mergo to v0.3.13
#5196: fix: patch additions honor source key style
chore
#5345: docs: update remove configmap comment
#5193: [refactor]: Internalize loader api
#5315: refactor: change "add configmap/secret" commands to reuse code and improve tests
Dependency updates
#5254: release cleanup
#5197: Switch to json-patch v5
#5393: Update kyaml to v0.15.0
#5394: Update cmd/config to v0.12.0
#5395: Update api to v0.15.0
v5.1.1
Compare Source
Built with go 1.20.6 to address CVEs in previous go versions.
#5245: Fix typo in help for the create subcommand
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
v4.5.7
Compare Source
Due to an oversight, kustomize v4.5.6 has the golang testing library compiled in unnecessarily. This is a rerelease with the same functionality, but without the unnecessary additional library compiled in.
Dependency changes
#4743: Pin to kyaml v0.13.9
#4744: pin to cmd/config 0.10.9
#4745: pin to api v0.12.1
v4.5.6
Compare Source
Due to an oversight, kustomize v4.5.6 has the golang testing library compiled in unnecessarily. It is advised that you upgrade to v4.5.7, which doesn't have the testing library compiled in.
Small features
#4704: Option to customize NamespaceTransformer role binding subject handling
#4708: Option to customize NamespaceTransformer overwrite behaviour
Bug fixes
#4700: Correctly detect ambiguity between potential referrers when targeting a name+namespace reference
#4703: Fix NameReference transformer handling of self-references in annotations
#4730: Emit a warning when env loading bug is being relied on
#4667: Replacements: fix issue with
create: true
option when there is an existing fieldDependency Changes
#4736: Pin to kyaml v0.13.8
#4737: Pin cmd/config 0.10.8
#4738: Pin to api v0.12.0
#4675: Update dependency github.com/xlab/treeprint to v1.1.0
v4.5.5
Compare Source
This release is expected to have significant performance improvements for a good portion of inputs, due to #4568.
Small features
#4209: [Address #3937] Add labels to template/metadata if includeTemplates is true
#4364: Add tagsuffix to take image tag suffix
#4567: Add support for remote OpenAPI schema
Bug fixes and performance improvements
#4568: openapi parsing performance improvement with protobuffer
#4489: Fix containerized function mounts issue
#4577: Fix error message using replacement wildcard and create option
#4565: Raise error for external generators or transformers
Dependency changes
#4644: Update kyaml to v0.13.7
#4645: Update cmd/config to v0.10.7
#4646: Update api to v0.11.5
v4.5.4
Compare Source
#4538: move to google/gnostic v0.5.7-v3refs (required for kubectl integration update)
https://github.com/kubernetes-sigs/kustomize/pull/4545: Add more name refs to PodTemplate for ConfigMap and Secret
#4547: Update kyaml to v0.13.6
#4549: Update cmd/config to v0.10.6
#4550: Update api to api/v0.11.4
v4.5.3
Compare Source
Enhancements
97de780
Support expanding anchor tags (#4383)26b9af0
Allow setting every array element in replacements (https://github.com/kubernetes-sigs/kustomize/pull/4424)d1d578c
Support for multiple replacements in a single file (https://github.com/kubernetes-sigs/kustomize/pull/4485)Bug Fixes
7b0ec99
Retain quotes in namespace transformer filter (#4421)cb80659
Preserve scalar types when using the replacement filter (https://github.com/kubernetes-sigs/kustomize/pull/4494)7a3c426
Fix image name parsing with tag and digest (https://github.com/kubernetes-sigs/kustomize/pull/4406)3421fcf
bump dependency cobra to pick up latest vulnerability solutionv4.5.2
Compare Source
2f17803
Fix regression: Support for pseudo git HTTP urls in the git cloner had broken in59c8265
(#4453)b73dfe7
Remove exclude statements from kustomize module (https://github.com/kubernetes-sigs/kustomize/pull/4387)v4.5.1
Compare Source
Known issues:
a86723c
Fix regression #4388 (introduced in kustomize 4.5.0), which changed the order of resources produced bykustomize build
. (#4445)v4.5.0
Compare Source
Known issues
kustomize build
with--reorder
unset or explicitly set tolegacy
, are advised to skip this release. https://github.com/kubernetes-sigs/kustomize/issues/4388New enhancements
buildMetadata
. See docs here.kustomize edit add buildmetadata
(#4413)kustomize build ...
now completes file paths on ZSH. (#4310)kustomize edit add generator
(https://github.com/kubernetes-sigs/kustomize/pull/4361)Deprecations
2554d69
Deprecate enable-managedby-label flag in favor of a field (#4377)v4.4.1
Compare Source
This release restores the Windows binary and introduces ppc64le and s390x binaries.
b6cb6c8
fix build annotations getting lost after applying JSON 6902 patch (#4266)d8f406d
Fix: replacements entries get source and targets with null value appended (#4271)ef5f1d3
support label and annotation selection in replacement targets (#4229)ba051c8
fix issue with quote being dropped in configmap generation (#4242)0d8c107
fix issue with openapi schema from components (#4210)v4.4.0
Compare Source
The headline feature of this release is improved support for YAML anchors and aliases, which will be expanded by default as of this version. (Issue #3675; PRs #4114 and #4187)
Additional features and fixes include:
12c177a
fixes 4123; added length check on originalFields of kustomizationFile to prevent panic when kustomization file began with a comment(or a blank line) followed by a document separatorv4.3.0
Compare Source
7b5e43d
Feature: Add edit set annotation (#4073)0537b59
support yaml formatted openapi schema (#4017)1e1b9b4
exec function working dir is the kustomization that referenced it (#4125)38b2b33
update openapi to v1.21.2, fixing batch/v1 CronJob patching behavior (#4112)e1804cb
Retain field order after running any arbitrary functions on resources (#4021)78737f5
Updated ByteReader to allow white space and comments on the same line after --- and throw an error if anything else is detected (#4014)16dcc98
deprecate some cfg commands (#4048 )3350c72
option for origin data as annotation (#4065)97e7cb1
remove annotations added by the kyaml reader (#4091)v4.2.0
Compare Source
New experimental command to automatically migrate
vars
toreplacements
:kustomize edit fix —vars
. For details, runkustomize edit fix -h
. Warning: convertingvars
toreplacements
will potentially overwrite many resource files and in rare scenarios may not produce the same output whenkustomize build
is run. We recommend doing this in a clean git repository where the change is easy to undo.a1746f2
Pin to api v0.8.11bb6f83f
Pin to cmd/config v0.9.13aa92d83
Pin to kyaml (#4020)217e5c7
fix openapi command help page7fae7d1
Move api/filesys to kyaml/filesys (#3997)c19a972
expose --as-current-user via AddFunctionBasicsFlags3b37fed
convert vars to replacements: mapping value with dotf121e74
convert vars to replacements24294d3
upgrade json-patch 4.11.0a3ed120
Handle errorsf6e6ac0
Back to development mode; unpin the modulesv4.1.3
Compare Source
This will replace the
vars
feature. Thanks @natasha41575!Gvk
andResid
types moved to kyamlResource
now inlinesRNode
rather than delegating to itResmap
now accepts ankio.Filter
visitor (that can change the ResMap size).afaf7c6
Pin to api v0.8.10c24daec
Pin to cmd/config v0.9.1251605be
Pin to kyaml v0.10.203f3d3b1
Replace pkger with embed.FS compatibilitydca13a4
use assert statements for kustomize edit tests3cf18ad
fix test2bec25b
add new fields to ordered fields6608472
Simplify gvk, speed up cluster-scoped checks.a4db686
Unpin everything.5a8a4d4
More pinning.1235047
Establish pin state.1e7260b
Pin to cmd/config v0.9.113a508da
Pin to kyaml/v0.10.1845fc670
update openapi fetch commandbcbfa06
remove go-openapi/spec,validate,strfmt from kustomize/38e9c34
Back to dev mode; unpin the modules.v4.1.2
Compare Source
This is a patch release to downgrade a dependency on
github.com/imdario/mergo
from v0.3.7 to v0.3.5.This is to avoid forcing downstream kubernetes to use a newer version of
mergo
than it currently has.End users of the CLI can stay with v4.1.0. See that release for user-facing changes.
3f2b98f
Pin to api v0.8.85ba45f1
Back to mergo v0.3.5d8015d3
Back to development mode; unpin the modulesv4.1.1
Compare Source
This is a patch release to downgrade a dependency on
github.com/imdario/mergo
from v0.3.12 to v0.3.7.The newer version of mergo appears to cause a
test failure in client-go, so we'll keep mergo dependencies
lower than latest for now.
59af495
Pin to api v0.8.7162b8f3
Unpin the apiv4.1.0
Compare Source
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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 was generated by Mend Renovate. View the repository job log.