Kazan v0.11.0 Kazan.Apis.Core.V1.GitRepoVolumeSource View Source

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.

OpenAPI Definition: io.k8s.api.core.v1.GitRepoVolumeSource

Properties

  • directory :: String

    • Target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
  • repository :: String

    • Repository URL
  • revision :: String

    • Commit hash for the specified revision.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Kazan.Apis.Core.V1.GitRepoVolumeSource{
  directory: String.t(),
  repository: String.t(),
  revision: String.t()
}