Add three new verification modes for `.spec.verify.mode`: * `HEAD`: Verify the commit that the HEAD of the repo points to after checking out to the ref specified in `.spec.ref`. Its the same as `head`, which cannot be removed due to backwards compatibility reasons and is converted to `HEAD` internally. * `Tag`: Verify the tag referred to by `.spec.ref.tag`. * `TagAndHEAD`: Verify the tag referred to by `.spec.ref.tag` and the commit that the tag points to. The default is `HEAD`, to ensure backwards compatibility. Furthermore, add `.status.sourceVerificationMode` to record the last successful verification mode used. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com> |
||
|---|---|---|
| .. | ||
| artifact_types.go | ||
| condition_types.go | ||
| doc.go | ||
| gitrepository_types.go | ||
| groupversion_info.go | ||
| source.go | ||
| zz_generated.deepcopy.go | ||