Skip to content

Commit 404431e

Browse files
committed
Added the specific catalog rules
1 parent 89a7cf7 commit 404431e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

modules/tracking-component-origin-and-software-template-version/proc-configuring-provenance-and-software-template-versioning.adoc

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,24 @@ steps:
3131
- ... other steps ...
3232
----
3333

34-
. Modify the `catalog.rules` and `catalog.locations` sections in your `{product} app-config.yaml` file to register and import the updated Software Template into your {product-very-short} instance.
34+
. In your `{product} app-config.yaml` file, modify the `catalog.rules` section to include a rule for Software Templates, and configure the `catalog.locations` section to point to the Software Template that you want to add, as shown in the following example:
35+
+
36+
[source,yaml]
37+
----
38+
# ...
39+
catalog:
40+
rules:
41+
- allow: [Template]
42+
locations:
43+
- type: url
44+
target: https://<repository_url>/example-template.yaml
45+
# ...
46+
----
47+
where:
48+
49+
`catalog.rules.allow`:: To allow new Software Templates to be added to the catalog, you must add a `Template` rule.
50+
`catalog.locations.type`:: If you are importing templates from a repository, such as GitHub or GitLab, use the `url` type.
51+
`catalog.locations.target`:: Specify the URL for the template.
3552

3653
.Verification
3754

0 commit comments

Comments
 (0)