UNPKG

kubernetes-models

Version:
16 lines (15 loc) 865 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiCoreV1SecretProjection = exports.SecretProjection = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiCoreV1SecretProjection_1 = require("../_schemas/IoK8sApiCoreV1SecretProjection.js"); /** * Adapts a secret into a projected volume. * * The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. */ class SecretProjection extends base_1.Model { } exports.SecretProjection = SecretProjection; exports.IoK8sApiCoreV1SecretProjection = SecretProjection; (0, base_1.setSchema)(SecretProjection, "io.k8s.api.core.v1.SecretProjection", IoK8sApiCoreV1SecretProjection_1.addSchema);