EnvVarSourcePatch constructor

const EnvVarSourcePatch({
  1. Input<ConfigMapKeySelectorPatch>? configMapKeyRef,
  2. Input<ObjectFieldSelectorPatch>? fieldRef,
  3. Input<FileKeySelectorPatch>? fileKeyRef,
  4. Input<ResourceFieldSelectorPatch>? resourceFieldRef,
  5. Input<SecretKeySelectorPatch>? secretKeyRef,
})

Creates a new EnvVarSourcePatch. configMapKeyRef Selects a key of a ConfigMap. fieldRef Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['&lt;KEY&gt;'], metadata.annotations['&lt;KEY&gt;'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. fileKeyRef FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled. resourceFieldRef 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. secretKeyRef Selects a key of a secret in the pod's namespace

Implementation

const EnvVarSourcePatch({
  this.configMapKeyRef,
  this.fieldRef,
  this.fileKeyRef,
  this.resourceFieldRef,
  this.secretKeyRef,
});