File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ description: |
66 Largely extrapolated from config/config/*-config.yaml
77$defs :
88 $comment : Common types of things for re-use
9+ pct :
10+ type : number
11+ minimum : 0
12+ maximum : 100
13+
914 affinity :
1015 $comment : Real k8s resources might have existing schemas that could be reused as-is
1116 default :
@@ -2148,7 +2153,7 @@ properties:
21482153 $ref : ' #/$defs/timeRange'
21492154 freeSpacePercentage :
21502155 default : 40
2151- type : number
2156+ $ref : ' #/$defs/pct '
21522157 hours :
21532158 default : 24
21542159 type : number
@@ -2186,7 +2191,7 @@ properties:
21862191 $ref : ' #/$defs/timeRange'
21872192 freeSpacePercentage :
21882193 default : 5
2189- type : number
2194+ $ref : ' #/$defs/pct '
21902195 pattern :
21912196 properties :
21922197 exclude :
@@ -2224,7 +2229,7 @@ properties:
22242229 default : 1h
22252230 freeSpacePercentage :
22262231 default : 30
2227- type : number
2232+ $ref : ' #/$defs/pct '
22282233 hours :
22292234 default : 24
22302235 type : number
@@ -2262,7 +2267,7 @@ properties:
22622267 type : string
22632268 freeSpacePercentage :
22642269 default : 5
2265- type : number
2270+ $ref : ' #/$defs/pct '
22662271 pattern :
22672272 properties :
22682273 exclude :
@@ -2324,7 +2329,7 @@ properties:
23242329 type : boolean
23252330 percent :
23262331 default : 80
2327- type : number
2332+ $ref : ' #/$defs/pct '
23282333 type : object
23292334 size :
23302335 properties :
@@ -2333,10 +2338,10 @@ properties:
23332338 type : boolean
23342339 percent :
23352340 default : 80
2336- type : number
2341+ $ref : ' #/$defs/pct '
23372342 sizeQuotaGB :
23382343 default : 1000
2339- type : number
2344+ $ref : ' #/$defs/pct '
23402345 type : object
23412346 type : object
23422347 storage :
You can’t perform that action at this time.
0 commit comments