@@ -121,11 +121,22 @@ spec:
121
121
description : |-
122
122
ToFieldPath specifies how to patch to a field path. The default is
123
123
'Replace', which means the patch will completely replace the target field,
124
- or create it if it does not exist. Use 'MergeObject' to merge the patch
125
- object with the target object, or 'AppendArray' to append the patch array
126
- to the target array.
124
+ or create it if it does not exist. Use 'MergeObjects' to recursively merge the patch
125
+ object with the target object, while keeping target object keys, but overwriting any array values, or use
126
+ 'MergeObjectsAppendArrays' to recursively merge the patch object with the target object, while keeping
127
+ target object keys and appending any array values to target array values, or use
128
+ 'ForceMergeObjects' to recursively merge the patch object with the target object, overwriting
129
+ any target object keys, including array values, or use
130
+ 'ForceMergeObjectsAppendArrays' to recursively merge the patch object with the target object,
131
+ overwriting target object keys, and appending any array values to target array values.
132
+ 'MergeObject' is deprecated, use 'MergeObjects' instead, which is functionally identical.
133
+ 'AppendArray' is deprecated, use 'ForceMergeObjectsAppendArrays' instead, which is functionally identical.
127
134
enum :
128
135
- Replace
136
+ - MergeObjects
137
+ - MergeObjectsAppendArrays
138
+ - ForceMergeObjects
139
+ - ForceMergeObjectsAppendArrays
129
140
- MergeObject
130
141
- AppendArray
131
142
type : string
@@ -464,11 +475,22 @@ spec:
464
475
description : |-
465
476
ToFieldPath specifies how to patch to a field path. The default is
466
477
'Replace', which means the patch will completely replace the target field,
467
- or create it if it does not exist. Use 'MergeObject' to merge the patch
468
- object with the target object, or 'AppendArray' to append the patch array
469
- to the target array.
478
+ or create it if it does not exist. Use 'MergeObjects' to recursively merge the patch
479
+ object with the target object, while keeping target object keys, but overwriting any array values, or use
480
+ 'MergeObjectsAppendArrays' to recursively merge the patch object with the target object, while keeping
481
+ target object keys and appending any array values to target array values, or use
482
+ 'ForceMergeObjects' to recursively merge the patch object with the target object, overwriting
483
+ any target object keys, including array values, or use
484
+ 'ForceMergeObjectsAppendArrays' to recursively merge the patch object with the target object,
485
+ overwriting target object keys, and appending any array values to target array values.
486
+ 'MergeObject' is deprecated, use 'MergeObjects' instead, which is functionally identical.
487
+ 'AppendArray' is deprecated, use 'ForceMergeObjectsAppendArrays' instead, which is functionally identical.
470
488
enum :
471
489
- Replace
490
+ - MergeObjects
491
+ - MergeObjectsAppendArrays
492
+ - ForceMergeObjects
493
+ - ForceMergeObjectsAppendArrays
472
494
- MergeObject
473
495
- AppendArray
474
496
type : string
@@ -871,11 +893,22 @@ spec:
871
893
description : |-
872
894
ToFieldPath specifies how to patch to a field path. The default is
873
895
'Replace', which means the patch will completely replace the target field,
874
- or create it if it does not exist. Use 'MergeObject' to merge the patch
875
- object with the target object, or 'AppendArray' to append the patch array
876
- to the target array.
896
+ or create it if it does not exist. Use 'MergeObjects' to recursively merge the patch
897
+ object with the target object, while keeping target object keys, but overwriting any array values, or use
898
+ 'MergeObjectsAppendArrays' to recursively merge the patch object with the target object, while keeping
899
+ target object keys and appending any array values to target array values, or use
900
+ 'ForceMergeObjects' to recursively merge the patch object with the target object, overwriting
901
+ any target object keys, including array values, or use
902
+ 'ForceMergeObjectsAppendArrays' to recursively merge the patch object with the target object,
903
+ overwriting target object keys, and appending any array values to target array values.
904
+ 'MergeObject' is deprecated, use 'MergeObjects' instead, which is functionally identical.
905
+ 'AppendArray' is deprecated, use 'ForceMergeObjectsAppendArrays' instead, which is functionally identical.
877
906
enum :
878
907
- Replace
908
+ - MergeObjects
909
+ - MergeObjectsAppendArrays
910
+ - ForceMergeObjects
911
+ - ForceMergeObjectsAppendArrays
879
912
- MergeObject
880
913
- AppendArray
881
914
type : string
0 commit comments