Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

feat(STONEINTG-892): Include git url override snapshot example #276

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -34,12 +34,13 @@ spec:
containerImage: quay.io/redhat-user-workloads/ws-sample-tenant/application-sample/component-sample@sha256:0db0a473a6abf5c15c424ab07cfbd5c40c06622fe648d4fe6a6b6abc224a0d0c <3>
source: <4>
git:
url: https://github.com/sample-org/sample-repo
revision: fa8b89274a61ef0f1c257b7a84c37aa2ec844109
----
<1> The label `test.appstudio.openshift.io/type: override` that indicates this is an `override` snapshot.
<2> The component name you will reset its Global Candidate List.
<3> The container image with valid digest you will reset the component <2> to.
<4> Optional. The component source containing the git revision.
<4> Optional, but may cause an Enterprise Contract check to fail if it's incorrect or missing. The component source containing the git url and revision that the container image was built from.


. Save the .yaml file and add the snapshot.yaml by running the following command: