Skip to content

Commit

Permalink
kustomize/advanced: kustomize v5 compatibility
Browse files Browse the repository at this point in the history
The bare `patches` attribute was apparently a legacy thing,
which v5 attributed new meaning to; see kustomize#4911.

patchesStrategicMerge should work on both v4 and v5.
  • Loading branch information
KellerFuchs committed May 3, 2023
1 parent 9e0721e commit d6a36bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kustomize/advanced/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base/
patches:
patchesStrategicMerge:
- use-advanced.patch.yaml

0 comments on commit d6a36bd

Please sign in to comment.