Skip to content

Commit

Permalink
Add OCIRepository API spec to docs
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Jul 8, 2022
1 parent 3f96890 commit a169aa1
Show file tree
Hide file tree
Showing 3 changed files with 635 additions and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/ocirepository_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ func (r *OCIRepositoryReconciler) reconcileArtifact(ctx context.Context,
if obj.GetArtifact().HasRevision(artifact.Revision) {
conditions.Delete(obj, sourcev1.ArtifactOutdatedCondition)
conditions.MarkTrue(obj, sourcev1.ArtifactInStorageCondition, meta.SucceededReason,
"stored artifact for revision '%s'", artifact.Revision)
"stored artifact for digest '%s'", artifact.Revision)
}
}()

Expand Down
1 change: 1 addition & 0 deletions docs/spec/v1beta2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This is the v1beta2 API specification for defining the desired state sources of

* Source kinds:
+ [GitRepository](gitrepositories.md)
+ [OCIRepository](ocirepositories.md)
+ [HelmRepository](helmrepositories.md)
+ [HelmChart](helmcharts.md)
+ [Bucket](buckets.md)
Expand Down
Loading

0 comments on commit a169aa1

Please sign in to comment.