Added spec.metadata to example and note (#2527)

Signed-off-by: Tyson Lawrie <tlawrie@users.noreply.github.com>
This commit is contained in:
Tyson Lawrie 2022-06-16 01:00:11 +10:00 committed by GitHub
parent 7eff7d8803
commit 4b1deaea54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -20,8 +20,11 @@ metadata:
spec:
type: pubsub.in-memory
version: v1
metadata: []
```
> Note: in-memory does not require any specific metadata for the component to work, however spec.metadata is a required field.
## Related links
- [Basic schema for a Dapr component]({{< ref component-schema >}}) in the Related links section
- Read [this guide]({{< ref "howto-publish-subscribe.md#step-2-publish-a-topic" >}}) for instructions on configuring pub/sub components