Skip to content

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 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.

@Aurelian-Shuttleworth
Copy link

Any updates on this?

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.

3 participants