INPUT_OBJECT

KubernetesKindReplicaSetSpecTemplateSpecVolumesGitRepoInput

GitRepo represents a git repository at a particular revision. 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.

link GraphQL Schema definition

  • input KubernetesKindReplicaSetSpecTemplateSpecVolumesGitRepoInput {
  • # 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.
  • directory: String
  • # Repository URL
  • repository: String
  • # Commit hash for the specified revision.
  • revision: String
  • }