@@ -1103,10 +1103,13 @@ spec:
1103
1103
for env vars'
1104
1104
type : string
1105
1105
divisor :
1106
+ anyOf :
1107
+ - type : integer
1108
+ - type : string
1106
1109
description : Specifies the output
1107
1110
format of the exposed resources,
1108
1111
defaults to "1"
1109
- type : string
1112
+ x-kubernetes-int-or-string : true
1110
1113
resource :
1111
1114
description : ' Required: resource
1112
1115
to select'
@@ -1767,14 +1770,20 @@ spec:
1767
1770
properties :
1768
1771
limits :
1769
1772
additionalProperties :
1770
- type : string
1773
+ anyOf :
1774
+ - type : integer
1775
+ - type : string
1776
+ x-kubernetes-int-or-string : true
1771
1777
description : ' Limits describes the maximum
1772
1778
amount of compute resources allowed. More
1773
1779
info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
1774
1780
type : object
1775
1781
requests :
1776
1782
additionalProperties :
1777
- type : string
1783
+ anyOf :
1784
+ - type : integer
1785
+ - type : string
1786
+ x-kubernetes-int-or-string : true
1778
1787
description : ' Requests describes the minimum
1779
1788
amount of compute resources required.
1780
1789
If Requests is omitted for a container,
@@ -2300,10 +2309,13 @@ spec:
2300
2309
for env vars'
2301
2310
type : string
2302
2311
divisor :
2312
+ anyOf :
2313
+ - type : integer
2314
+ - type : string
2303
2315
description : Specifies the output
2304
2316
format of the exposed resources,
2305
2317
defaults to "1"
2306
- type : string
2318
+ x-kubernetes-int-or-string : true
2307
2319
resource :
2308
2320
description : ' Required: resource
2309
2321
to select'
@@ -2964,14 +2976,20 @@ spec:
2964
2976
properties :
2965
2977
limits :
2966
2978
additionalProperties :
2967
- type : string
2979
+ anyOf :
2980
+ - type : integer
2981
+ - type : string
2982
+ x-kubernetes-int-or-string : true
2968
2983
description : ' Limits describes the maximum
2969
2984
amount of compute resources allowed. More
2970
2985
info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2971
2986
type : object
2972
2987
requests :
2973
2988
additionalProperties :
2974
- type : string
2989
+ anyOf :
2990
+ - type : integer
2991
+ - type : string
2992
+ x-kubernetes-int-or-string : true
2975
2993
description : ' Requests describes the minimum
2976
2994
amount of compute resources required.
2977
2995
If Requests is omitted for a container,
@@ -3929,10 +3947,13 @@ spec:
3929
3947
for env vars'
3930
3948
type : string
3931
3949
divisor :
3950
+ anyOf :
3951
+ - type : integer
3952
+ - type : string
3932
3953
description : Specifies the output
3933
3954
format of the exposed resources,
3934
3955
defaults to "1"
3935
- type : string
3956
+ x-kubernetes-int-or-string : true
3936
3957
resource :
3937
3958
description : ' Required: resource
3938
3959
to select'
@@ -3958,6 +3979,9 @@ spec:
3958
3979
or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
3959
3980
type : string
3960
3981
sizeLimit :
3982
+ anyOf :
3983
+ - type : integer
3984
+ - type : string
3961
3985
description : ' Total amount of local storage
3962
3986
required for this EmptyDir volume. The
3963
3987
size limit is also applicable for memory
@@ -3968,7 +3992,7 @@ spec:
3968
3992
a pod. The default is nil which means
3969
3993
that the limit is undefined. More info:
3970
3994
http://kubernetes.io/docs/user-guide/volumes#emptydir'
3971
- type : string
3995
+ x-kubernetes-int-or-string : true
3972
3996
type : object
3973
3997
fc :
3974
3998
description : FC represents a Fibre Channel resource
@@ -4524,11 +4548,14 @@ spec:
4524
4548
for env vars'
4525
4549
type : string
4526
4550
divisor :
4551
+ anyOf :
4552
+ - type : integer
4553
+ - type : string
4527
4554
description : Specifies
4528
4555
the output format
4529
4556
of the exposed resources,
4530
4557
defaults to "1"
4531
- type : string
4558
+ x-kubernetes-int-or-string : true
4532
4559
resource :
4533
4560
description : ' Required:
4534
4561
resource to select'
@@ -4987,12 +5014,13 @@ spec:
4987
5014
type : object
4988
5015
type : object
4989
5016
mapOfInfo :
4990
- description : A map that allows different actors to manage different fields
4991
- type : object
4992
- x-kubernetes-map-type : granular
4993
5017
additionalProperties :
4994
5018
format : byte
4995
5019
type : string
5020
+ description : A map that allows different actors to manage different
5021
+ fields
5022
+ type : object
5023
+ x-kubernetes-map-type : granular
4996
5024
noReallySuspend :
4997
5025
description : This flag is like suspend, but for when you really mean
4998
5026
it. It helps test the +kubebuilder:validation:Type marker.
@@ -5019,8 +5047,6 @@ spec:
5019
5047
type : object
5020
5048
structWithSeveralFields :
5021
5049
description : A struct that can only be entirely replaced
5022
- type : object
5023
- x-kubernetes-map-type : atomic
5024
5050
properties :
5025
5051
bar :
5026
5052
type : boolean
@@ -5029,6 +5055,8 @@ spec:
5029
5055
required :
5030
5056
- bar
5031
5057
- foo
5058
+ type : object
5059
+ x-kubernetes-map-type : atomic
5032
5060
successfulJobsHistoryLimit :
5033
5061
description : The number of successful finished jobs to retain. This
5034
5062
is a pointer to distinguish between explicit zero and not specified.
0 commit comments