Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit b13f228

Browse files
committed
Cleanup config and dependencies examples
Signed-off-by: Steve Lasker <[email protected]>
1 parent d3e24fb commit b13f228

File tree

1 file changed

+2
-42
lines changed

1 file changed

+2
-42
lines changed

artifact-manifest/artifact-manifest.md

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -76,43 +76,6 @@ Artifacts that reference other artifacts must include an OCI Artifact Descriptor
7676

7777
Clients MAY choose to bind to specific digests, assuring they are testing and using the exact graph initially specified. Or, clients may choose to float to a newer version of a tag, benefiting from patches. In all cases, a Notary v2 signature may be used to assure the artifacts are true to their initial ownership and authors.
7878

79-
**Setting the default registry:**
80-
81-
```bash
82-
oci-reg default-registry registry.acme-rockets.io
83-
```
84-
85-
**Setting repository mappings for where to push and pull unqualified artifacts:**
86-
87-
`oci-reg.config`
88-
89-
```json
90-
{
91-
"root-namespace": "dev"
92-
}
93-
```
94-
95-
**Setting repository mappings for specific artifacts:**
96-
97-
`oci-reg.config`
98-
99-
```json
100-
{
101-
"default-registry": "registry.acme-rockets.io",
102-
"root-namespace": "prod",
103-
"repo-mappings": [
104-
{
105-
"repo": "wordpress-chart",
106-
"path": "/charts"
107-
},
108-
{
109-
"repo": "wordpress-cnab",
110-
"path": "/cnabs"
111-
}
112-
]
113-
}
114-
```
115-
11679
## Supported Artifact Types
11780

11881
Artifact manifest is intended to support the following artifact types:
@@ -238,17 +201,14 @@ To support hard references, an additional dependencies collection is added to a
238201
{
239202
"mediaType": "application/vnd.cncf.notary.v2.json",
240203
"digest": "sha256:9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0",
241-
"size": 32654,
242-
"reference": "registry.wabbitnetworks.io"
204+
"size": 32654
243205
}
244206
],
245207
"dependencies": [
246208
{
247-
"artifact": "mysql:8",
248-
"artifactType": "application/vnd.oci.image.manifest.v1.config.json",
249209
"mediaType": "application/vnd.oci.image.manifest.v1.config.json",
250210
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
251-
"size": 16724,
211+
"size": 16724
252212
}
253213
]
254214
}

0 commit comments

Comments
 (0)