forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenvvarsource.json
23 lines (23 loc) · 1.18 KB
/
envvarsource.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"description": "EnvVarSource represents a source for the value of an EnvVar.",
"properties": {
"configMapKeyRef": {
"description": "Selects a key of a ConfigMap.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector"
},
"fieldRef": {
"description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ObjectFieldSelector"
},
"resourceFieldRef": {
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ResourceFieldSelector"
},
"secretKeyRef": {
"description": "Selects a key of a secret in the pod's namespace",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}