Skip to content
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

Modernize patch syntax in kustomizations #687

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

larsks
Copy link

@larsks larsks commented Feb 13, 2024

The patchesStrategicMerge keyword has been deprecated in Kustomize for
quite some time, and generates warnings with recent versions of Kustomize:

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

This commit replaces all instances of:

patchesStrategicMerge:
- somepatch.yaml

With:

patches:
- path: somepatch.yaml

The `patchesStrategicMerge` keyword has been deprecated in Kustomize for
quite some time, and generates warnings with recent versions of Kustomize:

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

This commit replaces all instances of:

    patchesStrategicMerge:
    - somepatch.yaml

With:

    patches:
    - path: somepatch.yaml
@larsks larsks requested a review from a team as a code owner February 13, 2024 22:16
@gecube
Copy link

gecube commented Aug 28, 2024

lgtm

Where are the maintainers ? I think we should accept the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants