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
@@ -45,8 +45,9 @@ The following types of data are being considered:
45
45
| authoritative-source-url | The authoritative location in which the image is published|
46
46
| distribution-scope | Intended scope of distribution for image (see below for possible values)|
47
47
| changelog-url | URL of a page containing release notes for the image|
48
+
| config | A namespace for defining the application configuration (see below for possible values)|
48
49
49
-
3. Possible values of distribution-scope field
50
+
1. Possible values of distribution-scope field
50
51
51
52
|Name | Description |
52
53
|-------------|-------------|
@@ -55,11 +56,26 @@ The following types of data are being considered:
55
56
| restricted | Redistribution only with permission|
56
57
| public | No redistribution limits beyond licenses|
57
58
58
-
4. Custom labels may be defined by a namespace prefix using reverse DNS notation of a domain controlled by the author. For example, `com.redhat.access`.
59
+
1. Possible values of config field. Application configuration may be defined or hinted using the config label. This allows documentation and tooling to provide parameterization control. Currently, environment variables are the only parameter, with three attributes.
60
+
61
+
|Name | Description |
62
+
|-------------|-------------|
63
+
| config.env.KEY | Default value. Use empty string "" if no default.|
64
+
| config.env.KEY.description | Description|
65
+
| config.env.KEY.required | Required boolean, true or false.|
66
+
Example:
67
+
```
68
+
LABEL config.env.foo=bar \
69
+
config.env.foo.description="Lorem ipsum dolor sit amet" \
70
+
config.env.foo.required=true
71
+
```
72
+
73
+
1. Custom labels may be defined by a namespace prefix using reverse DNS notation of a domain controlled by the author. For example, `com.redhat.access`.
| io.k8s.display-name | no | Name of the container displayed in Kubernetes |
46
46
| io.openshift.expose-services | no | port:service pairs separated with comma, e.g. `"8080:http,8443:https"`|
47
47
| io.openshift.tags | no | tags used by searching engine, e.g. `"builder,php,php56,rh-php56"`|
48
-
| io.openshift.env-KEY | no | Required environment variable. Creates parameter named "KEY". If no value is provided user input required. |
49
-
| io.openshift.podhook.pre | no | Pre exec pod-based lifecycle hook command. See [documentation](https://docs.openshift.org/latest/dev_guide/deployments.html#pod-based-lifecycle-hook)|
50
-
| io.openshift.podhook.post | no | Post exec pod-based lifecycle hook command. See [documentation](https://docs.openshift.org/latest/dev_guide/deployments.html#pod-based-lifecycle-hook)|
0 commit comments