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: config.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -308,7 +308,10 @@ The semantics are the same as `Path`, `Args` and `Env` in [golang Cmd](https://g
308
308
309
309
This OPTIONAL property contains arbitrary metadata for the container.
310
310
This information MAY be structured or unstructured.
311
-
Annotations are key-value maps.
311
+
Annotations MUST be key-value maps.
312
+
Keys MUST be unique, and best practice is to namespace the keys.
313
+
If there are no annotations then this property MAY either be absent or an empty map.
314
+
Implementations that are reading/processing this configuration file MUST NOT generate an error if they encounter an unknown annotation key.
312
315
313
316
```json
314
317
"annotations": {
@@ -317,6 +320,10 @@ Annotations are key-value maps.
317
320
}
318
321
```
319
322
323
+
## Extensibility
324
+
The `annotations` property MAY be used as an extensibility point to include additional information that is not defined as part of this specification.
325
+
Excluding the `annotations` property, implementations that are reading/processing this configuration file MUST generate an error if they encounter an unkown property.
326
+
320
327
## Configuration Schema Example
321
328
322
329
Here is a full example `config.json` for reference.
0 commit comments