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.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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.


def self.new(pull : JSON::PullParser) #

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.


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

Instance Method Detail

def directory : String? #

def directory=(directory : String?) #

def repository : String #

def repository=(repository : String) #

def revision : String? #

def revision=(revision : String?) #