SecretEnvSourceArgs

data class SecretEnvSourceArgs(val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<SecretEnvSourceArgs>

SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, optional: Output<Boolean>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

Link copied to clipboard
val optional: Output<Boolean>? = null

Specify whether the Secret must be defined

Functions

Link copied to clipboard
open override fun toJava(): SecretEnvSourceArgs