flux v2.9.5
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. |
commit | Commit SHA to check out, takes precedence over all reference fields. This can be combined with Branch to shallow clone the branch, in which the commit is expected to exist. |
name | Name of the reference to check out; takes precedence over Branch, Tag and SemVer. It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head" |
semver | SemVer tag expression to check out, takes precedence over Tag. |
tag | Tag to check out, takes precedence over Branch. |