class K8S::Api::Core::V1::GitRepoVolumeSource
- K8S::Api::Core::V1::GitRepoVolumeSource
 - Reference
 - Object
 
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.
Included Modules
- JSON::Serializable
 - JSON::Serializable::Unmapped
 - YAML::Serializable
 - YAML::Serializable::Unmapped
 
Defined in:
versions/v1.18/api/core/v1/git_repo_volume_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
 - .new(pull : JSON::PullParser)
 - .new(*, repository : String, directory : String? = nil, revision : String? = nil)
 
Instance Method Summary
- #directory : String?
 - #directory=(directory : String?)
 - #repository : String
 - #repository=(repository : String)
 - #revision : String?
 - #revision=(revision : String?)