mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 18:01:21 +00:00
Add JSONPatch to kustomization
This commit is contained in:
@@ -56,8 +56,15 @@ type Kustomization struct {
|
||||
|
||||
// An Patch entry is very similar to an Resource entry.
|
||||
// It specifies the relative paths for patch files within the package.
|
||||
// URLs and globs are not supported
|
||||
Patches []string `json:"patches,omitempty" yaml:"patches,omitempty"`
|
||||
// URLs and globs are not supported.
|
||||
// The patch files should be Stategic Merge Patch, the default patching behavior for kubectl.
|
||||
// https://github.com/kubernetes/community/blob/master/contributors/devel/strategic-merge-patch.md
|
||||
Patches []string `json:"patches,omitempty" yaml:"patches,omitempty"`
|
||||
PatchesStrategicMerge []string `json:"patchesSrategicMerge,omitempty" yaml:"patchesStategicMerge,omitempty"`
|
||||
|
||||
// JSONPatches is a list of JSONPatch for applying JSON patch.
|
||||
// The JSON patch is documented at http://jsonpatch.com/.
|
||||
PatchesJson6902 []JSONPatch `json:"patchesJson6902,omitempty" yaml:"patchesJson6902,omitempty"`
|
||||
|
||||
// List of configmaps to generate from configuration sources.
|
||||
// Base/overlay concept doesn't apply to this field.
|
||||
|
||||
Reference in New Issue
Block a user