class Pyrite::Api::Core::V1::GitRepoVolumeSource
Overview
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.
Defined in:
versions/v1.14/api/core/v1/git_repo_volume_source.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Represents a volume that is populated with the contents of a git repository.
-
.new(pull : JSON::PullParser)
Represents a volume that is populated with the contents of a git repository.
- .new(*, directory : String? = nil, repository : String, revision : String? = nil)
Instance Method Summary
- #directory : String?
- #directory=(directory : String?)
- #repository : String
- #repository=(repository : String)
- #revision : String?
- #revision=(revision : String?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
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.
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.