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: Set status and publish events in Destination to indicate if test files are successfully written #330

Open
ChunyiLyu opened this issue Jan 22, 2025 · 3 comments · May be fixed by #343
Assignees

Comments

@ChunyiLyu
Copy link
Member

Context

Destination should have status field to indicate to users feedback whether the creation is successful.

We write canary resource files, a namespace and a configmap, to Destinations. Provide user feedback in the status on whether the write is successful.

Given user has created a Destination
Given this Destination references an existing StateStore that can be written to
Then Destination has a Status field telling users that writing canary files were successful
Then Kratix publishes a successful write event to the Destination

Given user has created a Destination
When this Destination references a StateStore that kratix cannot write to
Then users are informed in kratix logs, Destination Status, and events of the Destination
@ChunyiLyu
Copy link
Member Author

Similar issue for StateStore #247

@catmo-syntasso
Copy link
Member

q: what are the implications of adding a free-form field to this as well? Similar to the status & details components we've just added for health checks?

@kirederik kirederik self-assigned this Jan 30, 2025
@kirederik
Copy link
Member

asciicast

status and events in action!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants