class K8S::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.

Included Modules

Defined in:

versions/v1.17/api/core/v1/git_repo_volume_source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, repository : String, directory : String? = nil, revision : String? = nil) #

[View source]

Instance Method Detail

def directory : String? #

[View source]
def directory=(directory : String?) #

[View source]
def repository : String #

[View source]
def repository=(repository : String) #

[View source]
def revision : String? #

[View source]
def revision=(revision : String?) #

[View source]