Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated docs to support resource classes in Score spec #63

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

sujaya-sys
Copy link
Contributor

Added support for resource classes as described in score-spec/spec#65

`type`: specifies the resource type.

- **Type**: string.
- **Constraints**: alphanumeric string.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alphanumeric with dashes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for class below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the same is true for resource-name and annotations? https://docs.score.dev/docs/reference/score-spec-reference/#resources

- **Type**: string.
- **Constraints**: alphanumeric string.

`class`: a specialisation of the resource type. For example, a workload that needs an externally accessible resource might set the class to external while the workload that requires an encrypted resource might have a class of sensitive.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest replace resource with storage bucket

Copy link
Contributor

@chrishumanitec chrishumanitec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sujaya-sys sujaya-sys merged commit b0af6ac into main Nov 1, 2023
1 check passed
@sujaya-sys sujaya-sys deleted the resource-classes branch November 1, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants