UNPKG

kubernetes-models

Version:
12 lines (11 loc) 718 B
import { Model, setSchema } from "@kubernetes-models/base"; import { addSchema } from "../_schemas/IoK8sApiCoreV1ConfigMapProjection.mjs"; /** * Adapts a ConfigMap into a projected volume. * * The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. */ export class ConfigMapProjection extends Model { } setSchema(ConfigMapProjection, "io.k8s.api.core.v1.ConfigMapProjection", addSchema); export { ConfigMapProjection as IoK8sApiCoreV1ConfigMapProjection };