flux v0.31.2
ImageUpdateAutomation.spec.git.checkout.ref
Reference gives a branch, tag or commit to clone from the Git repository.
| Field / Type | Description |
|---|---|
branch | Branch to check out, defaults to 'master' if no other field is defined. When GitRepositorySpec.GitImplementation is set to 'go-git', a shallow clone of the specified branch is performed. |
commit | Commit SHA to check out, takes precedence over all reference fields. When GitRepositorySpec.GitImplementation is set to 'go-git', this can be combined with Branch to shallow clone the branch, in which the commit is expected to exist. |
semver | SemVer tag expression to check out, takes precedence over Tag. |
tag | Tag to check out, takes precedence over Branch. |