UNPKG

kubernetes-models

Version:
17 lines (16 loc) 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiCoreV1GitRepoVolumeSource = exports.GitRepoVolumeSource = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiCoreV1GitRepoVolumeSource_1 = require("../_schemas/IoK8sApiCoreV1GitRepoVolumeSource.js"); /** * Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. * * DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. * @deprecated */ class GitRepoVolumeSource extends base_1.Model { } exports.GitRepoVolumeSource = GitRepoVolumeSource; exports.IoK8sApiCoreV1GitRepoVolumeSource = GitRepoVolumeSource; (0, base_1.setSchema)(GitRepoVolumeSource, "io.k8s.api.core.v1.GitRepoVolumeSource", IoK8sApiCoreV1GitRepoVolumeSource_1.addSchema);