forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpodpresetspec.json
51 lines (51 loc) · 1.47 KB
/
podpresetspec.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"description": "PodPresetSpec is a description of a pod preset.",
"properties": {
"env": {
"description": "Env defines the collection of EnvVar to inject into containers.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.EnvVar"
}
},
"envFrom": {
"description": "EnvFrom defines the collection of EnvFromSource to inject into containers.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.EnvFromSource"
}
},
"selector": {
"description": "Selector is a label query over a set of resources, in this case pods. Required.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
},
"volumeMounts": {
"description": "VolumeMounts defines the collection of VolumeMount to inject into containers.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount"
}
},
"volumes": {
"description": "Volumes defines the collection of Volume to inject into the pod.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.Volume"
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}