github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/templates/defwithtemplate/json-merge-patch.yaml (about) 1 # Code generated by KubeVela templates. DO NOT EDIT. Please edit the original cue file. 2 # Definition source cue file: vela-templates/definitions/internal/json-merge-patch.cue 3 apiVersion: core.oam.dev/v1beta1 4 kind: TraitDefinition 5 metadata: 6 annotations: 7 definition.oam.dev/description: Patch the output following Json Merge Patch strategy, following RFC 7396. 8 labels: 9 custom.definition.oam.dev/ui-hidden: "true" 10 name: json-merge-patch 11 namespace: {{ include "systemDefinitionNamespace" . }} 12 spec: 13 appliesToWorkloads: 14 - '*' 15 podDisruptive: true 16 schematic: 17 cue: 18 template: | 19 parameter: {...} 20 // +patchStrategy=jsonMergePatch 21 patch: parameter 22