Skip to content

templates: 'patchesStrategicMerge' is deprecated #1730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tormath1 opened this issue Oct 16, 2023 · 1 comment · Fixed by #1735
Closed

templates: 'patchesStrategicMerge' is deprecated #1730

tormath1 opened this issue Oct 16, 2023 · 1 comment · Fixed by #1735
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tormath1
Copy link
Contributor

/kind feature

Describe the solution you'd like

While running make templates, we can see the following output:

# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.

Can be observed in the CI output too.

Anything else you would like to add:

This comes from the new Kustomize version being used: https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.0.0

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
@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 16, 2023
@mquhuy
Copy link
Contributor

mquhuy commented Oct 26, 2023

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants