Update annotations.md (#8103)
Update the example to show that annotations are part of the metadata of an object.
This commit is contained in:
committed by
zacharysarah
parent
412463b7ec
commit
f75db126a8
@@ -19,10 +19,14 @@ include characters not permitted by labels.
|
||||
|
||||
Annotations, like labels, are key/value maps:
|
||||
|
||||
"annotations": {
|
||||
"key1" : "value1",
|
||||
"key2" : "value2"
|
||||
}
|
||||
```json
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"key1" : "value1",
|
||||
"key2" : "value2"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Here are some examples of information that could be recorded in annotations:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user