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

Use kStatus to compute status #3743

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Conversation

justinsb
Copy link
Contributor

After applying the object, compute the status using the kStatus library.

@justinsb
Copy link
Contributor Author

/assign @mortent

After applying the object, compute the status using the kStatus library.
case status.CurrentStatus:
tracker.isHealthy = true
case status.InProgressStatus:
// TODO: Do we want a different status here?
Copy link
Contributor

Choose a reason for hiding this comment

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

I would think so. It is useful to be able to distinguish between resources that are making progress on reconciliation and those that are doomed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I think we can probably "bubble up" the kStatus values, reuse the work you've done there to think about what these values should be.

@justinsb justinsb merged commit 11a17b6 into kptdev:main Jan 26, 2023
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.

None yet

2 participants