You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking changes
#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: Dropped 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.
#4973: Remove long-ignored Inventory field from Kustomization type
#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.
#4723, #4923: Deprecated fields: 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.
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.
#4895: Name references to local-only objects are now correctly resolved before the objects are removed from the set to be printed.
#4791, #4944, #4809: Significant performance improvements from refactoring metadata handling in the api and kyaml modules
#4758: Emit a warning when using missing field in FunctionSpec
#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