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

feat: support extra state on resources #36

Merged
merged 2 commits into from
May 9, 2024
Merged

feat: support extra state on resources #36

merged 2 commits into from
May 9, 2024

Conversation

astromechza
Copy link
Member

@astromechza astromechza commented May 9, 2024

Some Score implementations need to store some additional and custom data on the "resource" that isn't associated with the existing outputs or state. For example in score-k8s we may need to store a uuid associated with each resource or other lifecycle and status information that isn't part of the mutating "state" of the resource. Or we may need to store the Manifests generated by score-k8s provisioners.
We also fix a small issue causing a small panic in some tests and development efforts.

Signed-off-by: Ben Meier <ben.meier@humanitec.com>
Signed-off-by: Ben Meier <ben.meier@humanitec.com>
Copy link
Contributor

@mathieu-benoit mathieu-benoit left a comment

Choose a reason for hiding this comment

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

LGTM

@astromechza astromechza merged commit 0d013dd into main May 9, 2024
2 checks passed
@astromechza astromechza deleted the resource-state branch May 9, 2024 15:22
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