source-controller/config
Sanskar Jaiswal 6002ef51a6
gitrepo: add HEAD, Tag, TagAndHEAD as verification modes
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>
2023-08-21 21:33:15 +05:30
..
crd gitrepo: add HEAD, Tag, TagAndHEAD as verification modes 2023-08-21 21:33:15 +05:30
default Remove deprecated bases from default kustomization 2020-08-21 10:26:46 +03:00
manager Release v1.0.0 2023-07-03 18:09:48 +02:00
rbac Update controller-runtime (v0.15) and K8s (v1.27) 2023-05-24 09:05:42 +02:00
samples Promote GitRepository API to v1 2023-03-23 23:17:23 +02:00
testdata libgit2: Remove references to libgit2 from code 2022-12-12 15:34:28 +00:00