prometheus operator v0.93.1

PrometheusAgent.spec.initContainers[].lifecycle.preStop.httpGet.spec.volumes.gitRepo

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.

3 fields
PrometheusAgent.spec.initContainers[].lifecycle.preStop.httpGet.spec.volumes.gitRepo fields and descriptions
Field / TypeDescription
directory
string

directory is the 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 required

repository is the URL

revision
string

revision is the commit hash for the specified revision.