@jkcfg/kubernetes
Version:
jk Kubernetes library
28 lines • 1.11 kB
JSON
{
"description": "EnvVar represents an environment variable present in a Container.",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the environment variable. Must be a C_IDENTIFIER.",
"type": [
"string",
"null"
]
},
"value": {
"description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".",
"type": [
"string",
"null"
]
},
"valueFrom": {
"description": "Source for the environment variable's value. Cannot be used if value is not empty.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.EnvVarSource"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}