github.com/oam-dev/kubevela@v1.9.11/pkg/definition/gen_sdk/testdata/json-merge-patch.cue (about) 1 "json-merge-patch": { 2 type: "trait" 3 annotations: {} 4 labels: { 5 "ui-hidden": "true" 6 } 7 description: "Patch the output following Json Merge Patch strategy, following RFC 7396." 8 attributes: { 9 podDisruptive: true 10 appliesToWorkloads: ["*"] 11 } 12 } 13 template: { 14 parameter: {...} 15 // +patchStrategy=jsonMergePatch 16 patch: parameter 17 }