Skip to content

Commit f640778

Browse files
committed
Merge pull request #64 from aweiteka/vendor-table
Vendor table
2 parents 47e1b04 + 4ff09ff commit f640778

1 file changed

Lines changed: 27 additions & 52 deletions

File tree

vendor/redhat/labels.md

Lines changed: 27 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,72 +4,47 @@ Red Hat built images will include a fields in the metadata to identify the offic
44

55
## Naming and versioning related labels
66

7-
The Fields are:
8-
9-
* `"architecture"`
10-
* Target hardware architecture the image is built for in the Red Hat terminology inherited from RPM.
11-
* Note: there is an upstream Architecture field, but it uses a different terminology. We should work upstream to sync. For now we have to keep the two fields in sync.
12-
* Right now the value is `"x86_64"`
13-
* `"name"`
14-
* The primary name of the image (relative path without TAG): `PRODUCT[$PRODUCTGEN][--$PLATFORMDIFFERENTIATOR]/ REPO[--$CONTENTGENERATION][--$PLATFORMDIFFERENTIATOR]`
15-
* `"authoritative-source"`
16-
* The authoritative registry in which the image is published. For Red Hat this is `"registry.access.redhat.com"`. This allows e.g. to verify if a newer version is available independent of local tagging.
17-
* For ISVs this is optional.
18-
* `"release"`
19-
* The build of the image, `$IMGBUILD`
20-
* `"vendor"`
21-
* `"Red Hat, Inc."`
22-
* `"version"`
23-
* Version part of the TAG in the primary name, `$COMPVER`
24-
* `"com.redhat.component"`
25-
* The component in Bugzilla or other tracker representing the image. Can be used to file bugs.
7+
The Fields, all required, are:
8+
9+
| Name | Description |
10+
|----------------|------------------------------------|
11+
| architecture | Target hardware architecture the image is built for in the Red Hat terminology inherited from RPM. **Note**: there is an upstream Architecture field, but it uses a different terminology. We should work upstream to sync. For now we have to keep the two fields in sync. Current valid value is `"x86_64"` |
12+
| name | The primary name of the image (relative path without TAG): `PRODUCT[$PRODUCTGEN][--$PLATFORMDIFFERENTIATOR]/ REPO[--$CONTENTGENERATION][--$PLATFORMDIFFERENTIATOR]` |
13+
| authoritative-source | The authoritative registry in which the image is published. For Red Hat this is `"registry.access.redhat.com"`. This allows e.g. to verify if a newer version is available independent of local tagging. For ISVs this is optional. |
14+
| release | The build of the image, `$IMGBUILD` |
15+
| vendor | "Red Hat, Inc." |
16+
| version | Version part of the TAG in the primary name, `$COMPVER` |
17+
| com.redhat.component | The component in Bugzilla or other tracker representing the image. Can be used to file bugs. |
2618

2719
To reconstruct the authoritative source for an image, docker pull...
2820

2921
```
3022
$authoritative-source/$name:$version-$release
3123
```
3224

33-
Aka:
25+
In other words:
3426

3527
```
3628
$authoritative-source[:PORT]/PRODUCT[$PRODUCTGEN][--$PLATFORMDIFFERENTIATOR]/REPO[--$CONTENTGENERATION][--$PLATFORMDIFFERENTIATOR]:$COMPVER-$IMGBUILD
3729
```
3830

3931
## Other labels
4032

41-
* `"com.redhat.build-host"`
42-
* The build host used to create an image for internal use and auditability, similar to the use in RPM.
43-
* `"distribution-scope"`
44-
* Scope of intended distribution of the image.
45-
* Possible values
46-
* `private`: No public redistribution intended
47-
* `authoritative-source-only` Redistribution only from the source listed in the `"authoritative-source"` label
48-
* `restricted` Redistribution only with permission
49-
* `public` No redistribution limits beyond licenses
50-
* For Red Hat product images this will be set to `"authoritative-source-only"`
51-
* `"build-date"`
52-
* Date/Time image was built as [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time (Optional)
53-
* `"url"` (Optional)
54-
* Url with more information on the image
55-
* `"summary"` (Required)
56-
* Short Description of the image
57-
* `"description"` (Optional)
58-
* Detailed description of the image
59-
* `"vcs-type"` (Optional)
60-
* The type of version control used by the container source. Generally one of git, hg, svn, bzr, cvs
61-
* `"vcs-url"` (Optional)
62-
* URL of the version control repository
63-
* `"vcs-ref"` (Optional)
64-
* A 'reference' within the version control repository; e.g. a git commit, or a subversion branch
65-
* `"io.k8s.description"` (Optional)
66-
* Description of the container displayed in Kubernetes
67-
* `"io.k8s.display-name"` (Optional)
68-
* Name of the container displayed in Kubernetes
69-
* `"io.openshift.expose-services"` (Optional)
70-
* port:service pairs separated with comma, e.g. `"8080:http,8443:https"`
71-
* `"io.openshift.tags"` (Optional)
72-
* tags used by searching engine, e.g. `"builder,php,php56,rh-php56"`
33+
| Name | Required | Description |
34+
|----------------|----------|------------------------------------|
35+
| com.redhat.build-host | yes | The build host used to create an image for internal use and auditability, similar to the use in RPM. |
36+
| distribution-scope | yes | Scope of intended distribution of the image. For Red Hat product images this will be set to `"authoritative-source-only"`. Possible values <ul><li>`private`: No public redistribution intended</li><li>`authoritative-source-only`: Redistribution only from the source listed in the `"authoritative-source"` label</li><li>`restricted`: Redistribution only with permission</li><li>`public`: No redistribution limits beyond licenses</li></ul> |
37+
| build-date | no | Date/Time image was built as [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time |
38+
| url | no | Url with more information on the image |
39+
| summary | yes | Short Description of the image |
40+
| description | no | Detailed description of the image |
41+
| vcs-type | no | The type of version control used by the container source. Generally one of git, hg, svn, bzr, cvs |
42+
| vcs-url | no | URL of the version control repository |
43+
| vcs-ref | no | A 'reference' within the version control repository; e.g. a git commit, or a subversion branch |
44+
| io.k8s.description | no | Description of the container displayed in Kubernetes |
45+
| io.k8s.display-name | no | Name of the container displayed in Kubernetes |
46+
| io.openshift.expose-services | no | port:service pairs separated with comma, e.g. `"8080:http,8443:https"` |
47+
| io.openshift.tags | no | tags used by searching engine, e.g. `"builder,php,php56,rh-php56"` |
7348

7449
### Examples
7550

0 commit comments

Comments
 (0)