UNPKG

kubernetes-models

Version:
13 lines (12 loc) 751 B
import { Model, setSchema } from "@kubernetes-models/base"; import { addSchema } from "../_schemas/IoK8sApiCoreV1GitRepoVolumeSource.mjs"; /** * 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 */ export class GitRepoVolumeSource extends Model { } setSchema(GitRepoVolumeSource, "io.k8s.api.core.v1.GitRepoVolumeSource", addSchema); export { GitRepoVolumeSource as IoK8sApiCoreV1GitRepoVolumeSource };