Skip to main content
Module

x/helmet/mod.ts>IoK8sApiCoreV1EnvVar

Type-safe Helm - the right way to do Infrastructure as Code in Kubernetes
Go to Latest
class IoK8sApiCoreV1EnvVar
Re-export
import { IoK8sApiCoreV1EnvVar } from "https://deno.land/x/helmet@1.14.0/mod.ts";

EnvVar represents an environment variable present in a Container.

Constructors

new
IoK8sApiCoreV1EnvVar()

Properties

name: string

Name of the environment variable. Must be a C_IDENTIFIER.

optional
value: string

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 "".

optional
valueFrom: IoK8sApiCoreV1EnvVarSource

Static Properties

readonly
attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>
readonly
discriminator: string | undefined