You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vendor/redhat/labels.md
+27-52Lines changed: 27 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,72 +4,47 @@ Red Hat built images will include a fields in the metadata to identify the offic
4
4
5
5
## Naming and versioning related labels
6
6
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.
| 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. |
26
18
27
19
To reconstruct the authoritative source for an image, docker pull...
| 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"`|
0 commit comments