File tree Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ type Patch struct {
403
403
//
404
404
// +optional
405
405
// +kubebuilder:validation:XPreserveUnknownFields
406
- Value * apiextv1.JSON `json:"value"`
406
+ Value * apiextv1.JSON `json:"value,omitempty "`
407
407
}
408
408
409
409
// PatchType specifies the type of patch.
Original file line number Diff line number Diff line change @@ -533,8 +533,6 @@ spec:
533
533
For StrategicMerge and Merge patches, this should be a JSON object.
534
534
For JSONPatch patches, this should be a JSON array of patch operations.
535
535
x-kubernetes-preserve-unknown-fields: true
536
- required:
537
- - value
538
536
type: object
539
537
type: array
540
538
pod:
@@ -3992,8 +3990,6 @@ spec:
3992
3990
For StrategicMerge and Merge patches, this should be a JSON object.
3993
3991
For JSONPatch patches, this should be a JSON array of patch operations.
3994
3992
x-kubernetes-preserve-unknown-fields: true
3995
- required:
3996
- - value
3997
3993
type: object
3998
3994
type: array
3999
3995
pod:
@@ -7070,8 +7066,6 @@ spec:
7070
7066
For StrategicMerge and Merge patches, this should be a JSON object.
7071
7067
For JSONPatch patches, this should be a JSON array of patch operations.
7072
7068
x-kubernetes-preserve-unknown-fields: true
7073
- required:
7074
- - value
7075
7069
type: object
7076
7070
type: array
7077
7071
type:
Original file line number Diff line number Diff line change @@ -1118,8 +1118,6 @@ spec:
1118
1118
For StrategicMerge and Merge patches, this should be a JSON object.
1119
1119
For JSONPatch patches, this should be a JSON array of patch operations.
1120
1120
x-kubernetes-preserve-unknown-fields: true
1121
- required:
1122
- - value
1123
1121
type: object
1124
1122
type: array
1125
1123
pod:
@@ -4577,8 +4575,6 @@ spec:
4577
4575
For StrategicMerge and Merge patches, this should be a JSON object.
4578
4576
For JSONPatch patches, this should be a JSON array of patch operations.
4579
4577
x-kubernetes-preserve-unknown-fields: true
4580
- required:
4581
- - value
4582
4578
type: object
4583
4579
type: array
4584
4580
pod:
@@ -7655,8 +7651,6 @@ spec:
7655
7651
For StrategicMerge and Merge patches, this should be a JSON object.
7656
7652
For JSONPatch patches, this should be a JSON array of patch operations.
7657
7653
x-kubernetes-preserve-unknown-fields: true
7658
- required:
7659
- - value
7660
7654
type: object
7661
7655
type: array
7662
7656
type:
You can’t perform that action at this time.
0 commit comments