Add commit pinning option to Git repository API

This commit is contained in:
stefanprodan 2020-04-09 13:07:36 +03:00
parent b4b85029fb
commit 424c1cc097
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ type GitRepositoryRef struct {
// The git tag semver expression, takes precedence over tag.
// +optional
SemVer string `json:"semver"`
// The git commit sha to checkout, if specified branch and tag filters will be ignored.
// +optional
Commit string `json:"commit"`
}
```