chore(deps): update dependency kustomize to v4.5.7 #269
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)
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
Patch
kind
andmetadata/name
A patch can now change the
kind
orname
of a resource, e.g. aDeployment
can become aStatefulSet
.These fields used to be a primary key for patch targetting, and thus
couldn't be patched.
See examples in the feature's patch regression coverage.
labels without selectors
A new labels field allows adding labels without also automatically
injecting corresponding selectors:
This can be used instead of the
commonLabels
field, which alwaysadds selectors.
Updated
helm
generatorkustomize can use the
helm
command line to inflate charts as aresource generator, allowing a helm chart to define the base of any
number of variants.
The
kustomization.yaml
file has two new fields:These fields are documented in helmchartargs.go.
These fields replace the deprecated but still functional
helmChartInflationGenerator
field, which combined the above data andoffered two fields that must now be ignored:
helmBin
andextraArgs
. These latter fields are risky for people who alreadyengage in the risky behavior of using remote configuration that they
do not control.
To use a helm chart as a kustomization base, define values for these
fields and run:
The
--enable-helm
flag is new, and required to allowkustomize
torun a
helm
subprocess.Look here for a complete helm example.
Requires user to have helm v3 installed.
Use a custom OpenAPI schema file
Kustomize uses OpenAPI data to get information about merge keys.
To use a custom schema, specify what file to use via the
openapi
field.See the custom OpenAPI example for details.
Misc issues fixed/touched
emptyDir{}
Commits
See the api v0.8.6 release notes for more commits in this version.
e3ce616
Pin to api v0.8.66a708bc
Pin to cmd/config v0.9.1088911bb
Pin to [email protected]240cda0
Add flag --enable-helmaa5b481
upgrade to helm 3.5.4 and imdario/mergo v0.3.12c632880
Pin to kyaml v0.10.163255c73
Loader FS and empty env fixccb95ab
add conflict checke77c284
Do no require exec/go plugin home to use fn plugins5ed2067
Add labels field to kustomization123a5d6
Remove the wrappy layer.f96ac2d
allow general name and kind changes via an options field in patchesddfb4ff
Unpin all modules (back to dev mode).e2e4950
Take provenance version into account for build testConfiguration
📅 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.