kubernetes-models
Version:
16 lines (15 loc) • 769 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IoK8sApiCoreV1SecretEnvSource = exports.SecretEnvSource = void 0;
const base_1 = require("@kubernetes-models/base");
const IoK8sApiCoreV1SecretEnvSource_1 = require("../_schemas/IoK8sApiCoreV1SecretEnvSource.js");
/**
* SecretEnvSource selects a Secret to populate the environment variables with.
*
* The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
*/
class SecretEnvSource extends base_1.Model {
}
exports.SecretEnvSource = SecretEnvSource;
exports.IoK8sApiCoreV1SecretEnvSource = SecretEnvSource;
(0, base_1.setSchema)(SecretEnvSource, "io.k8s.api.core.v1.SecretEnvSource", IoK8sApiCoreV1SecretEnvSource_1.addSchema);