source-controller/controllers
Hidde Beydals 5ddeb0934f controllers: use short SHA in chart SemVer meta
As the full version can be used as a label value, the full SHA from the
reference takes up too much space from the 63 characters available in
total.

To mitigate against this, we now take a "short" version of the first 12
characters, which was still unique for the Linux kernel in 2019 with
875.000 commits:
http://git-scm.com/book/en/v2/Git-Tools-Revision-Selection#Short-SHA-1

This should be sufficient to safely detect all changes within the
context of operations.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-12-02 22:28:18 +01:00
..
testdata Write chart data on identitical values overwrite 2021-04-21 14:50:03 +02:00
artifact.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
artifact_test.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
bucket_controller.go controllers: use `time.Since` 2021-11-23 09:51:44 +01:00
bucket_controller_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
gitrepository_controller.go controllers: use `time.Since` 2021-11-23 09:51:44 +01:00
gitrepository_controller_test.go git: remove ', error:' from returned error 2021-10-27 00:43:31 +05:30
helmchart_controller.go controllers: use short SHA in chart SemVer meta 2021-12-02 22:28:18 +01:00
helmchart_controller_test.go controllers: use short SHA in chart SemVer meta 2021-12-02 22:28:18 +01:00
helmrepository_controller.go controllers: record suspension for HelmRepository 2021-11-23 09:51:44 +01:00
helmrepository_controller_test.go tests: ensure proper garbage collection 2021-11-16 10:39:58 +01:00
source_predicate.go Upgrade controller-runtime to v0.7.0 2020-12-18 19:17:10 +01:00
storage.go storage: change Artifact checksum to SHA256 2021-11-11 22:47:49 +01:00
storage_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
suite_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00