mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-23 07:17:02 +00:00
remove inline json patch format
This commit is contained in:
@@ -16,10 +16,6 @@ limitations under the License.
|
||||
|
||||
package patch
|
||||
|
||||
import (
|
||||
"github.com/krishicks/yaml-patch"
|
||||
)
|
||||
|
||||
// PatchJson6902 represents a json patch for an object
|
||||
// with format documented https://tools.ietf.org/html/rfc6902.
|
||||
type PatchJson6902 struct {
|
||||
@@ -30,9 +26,6 @@ type PatchJson6902 struct {
|
||||
// before addition of a namePrefix).
|
||||
Target *Target `json:"target" yaml:"target"`
|
||||
|
||||
// jsonPatch is a list of operations in YAML format that follows JSON 6902 rule.
|
||||
JsonPatch yamlpatch.Patch `json:"jsonPatch,omitempty" yaml:"jsonPatch,omitempty"`
|
||||
|
||||
// relative file path for a json patch file inside a kustomization
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user