-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Replace Kustomize field
patches
in examples (#8757)
This change replaces the obsolete use of the Kustomize `patches` field in the Skaffold examples with `patchesStrategicMerge`. Context: Kustomize v5 removed support for `patches` being an array of strings. The `patchesStrategicMerge` field introduced in Kustomize v3 retains the previous behavior of the `patches`. The `patches` field can still be used in v5 with an array of `patch` objects. Additional information: - kubernetes-sigs/kustomize#4911 - https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.0.0
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,5 @@ bases: | |
replicas: | ||
- name: go-integration-coverage | ||
count: 1 | ||
patches: | ||
patchesStrategicMerge: | ||
- coverage-patch.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resources: | ||
- deployment.yaml | ||
patches: | ||
patchesStrategicMerge: | ||
- patch.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,5 @@ bases: | |
replicas: | ||
- name: go-integration-coverage | ||
count: 1 | ||
patches: | ||
patchesStrategicMerge: | ||
- coverage-patch.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resources: | ||
- deployment.yaml | ||
patches: | ||
patchesStrategicMerge: | ||
- patch.yaml |