@@ -1103,10 +1103,14 @@ 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
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1113
+ x-kubernetes-int-or-string : true
1110
1114
resource :
1111
1115
description : ' Required: resource
1112
1116
to select'
@@ -1767,14 +1771,22 @@ spec:
1767
1771
properties :
1768
1772
limits :
1769
1773
additionalProperties :
1770
- type : string
1774
+ anyOf :
1775
+ - type : integer
1776
+ - type : string
1777
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1778
+ x-kubernetes-int-or-string : true
1771
1779
description : ' Limits describes the maximum
1772
1780
amount of compute resources allowed. More
1773
1781
info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
1774
1782
type : object
1775
1783
requests :
1776
1784
additionalProperties :
1777
- type : string
1785
+ anyOf :
1786
+ - type : integer
1787
+ - type : string
1788
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1789
+ x-kubernetes-int-or-string : true
1778
1790
description : ' Requests describes the minimum
1779
1791
amount of compute resources required.
1780
1792
If Requests is omitted for a container,
@@ -2300,10 +2312,14 @@ spec:
2300
2312
for env vars'
2301
2313
type : string
2302
2314
divisor :
2315
+ anyOf :
2316
+ - type : integer
2317
+ - type : string
2303
2318
description : Specifies the output
2304
2319
format of the exposed resources,
2305
2320
defaults to "1"
2306
- type : string
2321
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2322
+ x-kubernetes-int-or-string : true
2307
2323
resource :
2308
2324
description : ' Required: resource
2309
2325
to select'
@@ -2964,14 +2980,22 @@ spec:
2964
2980
properties :
2965
2981
limits :
2966
2982
additionalProperties :
2967
- type : string
2983
+ anyOf :
2984
+ - type : integer
2985
+ - type : string
2986
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2987
+ x-kubernetes-int-or-string : true
2968
2988
description : ' Limits describes the maximum
2969
2989
amount of compute resources allowed. More
2970
2990
info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2971
2991
type : object
2972
2992
requests :
2973
2993
additionalProperties :
2974
- type : string
2994
+ anyOf :
2995
+ - type : integer
2996
+ - type : string
2997
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2998
+ x-kubernetes-int-or-string : true
2975
2999
description : ' Requests describes the minimum
2976
3000
amount of compute resources required.
2977
3001
If Requests is omitted for a container,
@@ -3929,10 +3953,14 @@ spec:
3929
3953
for env vars'
3930
3954
type : string
3931
3955
divisor :
3956
+ anyOf :
3957
+ - type : integer
3958
+ - type : string
3932
3959
description : Specifies the output
3933
3960
format of the exposed resources,
3934
3961
defaults to "1"
3935
- type : string
3962
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3963
+ x-kubernetes-int-or-string : true
3936
3964
resource :
3937
3965
description : ' Required: resource
3938
3966
to select'
@@ -3958,6 +3986,9 @@ spec:
3958
3986
or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
3959
3987
type : string
3960
3988
sizeLimit :
3989
+ anyOf :
3990
+ - type : integer
3991
+ - type : string
3961
3992
description : ' Total amount of local storage
3962
3993
required for this EmptyDir volume. The
3963
3994
size limit is also applicable for memory
@@ -3968,7 +3999,8 @@ spec:
3968
3999
a pod. The default is nil which means
3969
4000
that the limit is undefined. More info:
3970
4001
http://kubernetes.io/docs/user-guide/volumes#emptydir'
3971
- type : string
4002
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4003
+ x-kubernetes-int-or-string : true
3972
4004
type : object
3973
4005
fc :
3974
4006
description : FC represents a Fibre Channel resource
@@ -4524,11 +4556,15 @@ spec:
4524
4556
for env vars'
4525
4557
type : string
4526
4558
divisor :
4559
+ anyOf :
4560
+ - type : integer
4561
+ - type : string
4527
4562
description : Specifies
4528
4563
the output format
4529
4564
of the exposed resources,
4530
4565
defaults to "1"
4531
- type : string
4566
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4567
+ x-kubernetes-int-or-string : true
4532
4568
resource :
4533
4569
description : ' Required:
4534
4570
resource to select'
@@ -4987,12 +5023,13 @@ spec:
4987
5023
type : object
4988
5024
type : object
4989
5025
mapOfInfo :
4990
- description : A map that allows different actors to manage different fields
4991
- type : object
4992
- x-kubernetes-map-type : granular
4993
5026
additionalProperties :
4994
5027
format : byte
4995
5028
type : string
5029
+ description : A map that allows different actors to manage different
5030
+ fields
5031
+ type : object
5032
+ x-kubernetes-map-type : granular
4996
5033
noReallySuspend :
4997
5034
description : This flag is like suspend, but for when you really mean
4998
5035
it. It helps test the +kubebuilder:validation:Type marker.
@@ -5019,8 +5056,6 @@ spec:
5019
5056
type : object
5020
5057
structWithSeveralFields :
5021
5058
description : A struct that can only be entirely replaced
5022
- type : object
5023
- x-kubernetes-map-type : atomic
5024
5059
properties :
5025
5060
bar :
5026
5061
type : boolean
@@ -5029,6 +5064,8 @@ spec:
5029
5064
required :
5030
5065
- bar
5031
5066
- foo
5067
+ type : object
5068
+ x-kubernetes-map-type : atomic
5032
5069
successfulJobsHistoryLimit :
5033
5070
description : The number of successful finished jobs to retain. This
5034
5071
is a pointer to distinguish between explicit zero and not specified.
0 commit comments