UNPKG

kubernetes-models

Version:
27 lines (26 loc) 1.04 kB
import { Model } from "@kubernetes-models/base"; /** * 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. */ export interface IConfigMapEnvSource { /** * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */ "name"?: string; /** * Specify whether the ConfigMap must be defined */ "optional"?: boolean; } /** * 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. */ export declare class ConfigMapEnvSource extends Model<IConfigMapEnvSource> implements IConfigMapEnvSource { "name"?: string; "optional"?: boolean; } export { IConfigMapEnvSource as IIoK8sApiCoreV1ConfigMapEnvSource, ConfigMapEnvSource as IoK8sApiCoreV1ConfigMapEnvSource };