Skip to content

Commit a169aa1

Browse files
committed
Add OCIRepository API spec to docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent 3f96890 commit a169aa1

File tree

3 files changed

+635
-1
lines changed

3 files changed

+635
-1
lines changed

controllers/ocirepository_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ func (r *OCIRepositoryReconciler) reconcileArtifact(ctx context.Context,
654654
if obj.GetArtifact().HasRevision(artifact.Revision) {
655655
conditions.Delete(obj, sourcev1.ArtifactOutdatedCondition)
656656
conditions.MarkTrue(obj, sourcev1.ArtifactInStorageCondition, meta.SucceededReason,
657-
"stored artifact for revision '%s'", artifact.Revision)
657+
"stored artifact for digest '%s'", artifact.Revision)
658658
}
659659
}()
660660

docs/spec/v1beta2/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This is the v1beta2 API specification for defining the desired state sources of
66

77
* Source kinds:
88
+ [GitRepository](gitrepositories.md)
9+
+ [OCIRepository](ocirepositories.md)
910
+ [HelmRepository](helmrepositories.md)
1011
+ [HelmChart](helmcharts.md)
1112
+ [Bucket](buckets.md)

0 commit comments

Comments
 (0)