Skip to content

Commit

Permalink
Adds reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rachfop committed Jul 12, 2023
1 parent 62f0e83 commit ec4e8e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions content/en/docs/reference/score-spec-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ It is up to {{< glossary_tooltip text="Score implementation (CLI)" term_id="scor
```yaml
resources:
[resource-name]:
metadata: # optional
annotations: # optional
[annotation-name]: [value]
type: [resource-type]
properties: # optional
[property-name]:
Expand All @@ -87,6 +90,13 @@ resources:
- **Type**: string.
- **Constraints**: alphanumeric string.

**`metadata`**: an optional property that specifies additional resource metadata.

- **`Type`**: object.
- **`annotations`**: an optional property that specifies metadata annotations.
- **`Type`**: object.
- **`Constraints`**: alphanumeric string key-value pairs.

`resource-type`: specifies the resource in the target environment.

- **Type**: string.
Expand Down

0 comments on commit ec4e8e2

Please sign in to comment.