UNPKG

kubernetes-models

Version:
12 lines (11 loc) 698 B
import { Model, setSchema } from "@kubernetes-models/base"; import { addSchema } from "../_schemas/IoK8sApiCoreV1ConfigMapVolumeSource.mjs"; /** * Adapts a ConfigMap into a volume. * * The contents of the target ConfigMap's Data field will be presented in a 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. ConfigMap volumes support ownership management and SELinux relabeling. */ export class ConfigMapVolumeSource extends Model { } setSchema(ConfigMapVolumeSource, "io.k8s.api.core.v1.ConfigMapVolumeSource", addSchema); export { ConfigMapVolumeSource as IoK8sApiCoreV1ConfigMapVolumeSource };