{
  "description": "EnvVar represents an environment variable present in a Container.",
  "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 previously 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".",
      "type": [
        "string",
        "null"
      ]
    },
    "valueFrom": {
      "description": "EnvVarSource represents a source for the value of an EnvVar.",
      "properties": {
        "configMapKeyRef": {
          "description": "Selects a key from a ConfigMap.",
          "properties": {
            "key": {
              "description": "The key to select.",
              "type": "string"
            },
            "name": {
              "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
              "type": [
                "string",
                "null"
              ]
            },
            "optional": {
              "description": "Specify whether the ConfigMap or its key must be defined",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "fieldRef": {
          "description": "ObjectFieldSelector selects an APIVersioned field of an object.",
          "properties": {
            "apiVersion": {
              "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
              "type": [
                "string",
                "null"
              ]
            },
            "fieldPath": {
              "description": "Path of the field to select in the specified API version.",
              "type": "string"
            }
          },
          "required": [
            "fieldPath"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "resourceFieldRef": {
          "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
          "properties": {
            "containerName": {
              "description": "Container name: required for volumes, optional for env vars",
              "type": [
                "string",
                "null"
              ]
            },
            "divisor": {
              "oneOf": [
                {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              ]
            },
            "resource": {
              "description": "Required: resource to select",
              "type": "string"
            }
          },
          "required": [
            "resource"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "secretKeyRef": {
          "description": "SecretKeySelector selects a key of a Secret.",
          "properties": {
            "key": {
              "description": "The key of the secret to select from.  Must be a valid secret key.",
              "type": "string"
            },
            "name": {
              "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
              "type": [
                "string",
                "null"
              ]
            },
            "optional": {
              "description": "Specify whether the Secret or its key must be defined",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "name"
  ],
  "type": "object",
  "$schema": "http://json-schema.org/schema#"
}