ConfigMapEnvSource

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

JSON representation
{
  "localObjectReference": {
    object (LocalObjectReference)
  },
  "optional": boolean,
  "name": string
}
Fields
localObjectReference
(deprecated)

object (LocalObjectReference)

This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead.

optional

boolean

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Specify whether the ConfigMap must be defined

name

string

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

The ConfigMap to select from.