Skip to content

Commit 103393c

Browse files
committed
values.schema.json does not contradict to examples from tutorials/assets
Signed-off-by: sh1ng <[email protected]>
1 parent 242e9c1 commit 103393c

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

helm/values.schema.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"type": "string"
8484
},
8585
"requestGPU": {
86-
"type": "integer"
86+
"type": "number"
8787
},
8888
"requestGPUType": {
8989
"type": "string"
@@ -229,11 +229,24 @@
229229
},
230230
"value": {
231231
"type": "string"
232+
},
233+
"valueFrom": {
234+
"type": "object"
232235
}
233236
},
234-
"required": [
235-
"name",
236-
"value"
237+
"anyOf": [
238+
{
239+
"required": [
240+
"name",
241+
"value"
242+
]
243+
},
244+
{
245+
"required": [
246+
"name",
247+
"valueFrom"
248+
]
249+
}
237250
]
238251
}
239252
},
@@ -282,8 +295,7 @@
282295
"replicaCount",
283296
"requestCPU",
284297
"requestMemory",
285-
"requestGPU",
286-
"pvcStorage"
298+
"requestGPU"
287299
]
288300
}
289301
},

0 commit comments

Comments
 (0)