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

chore: Consider an absent condition to be Unknown #106

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

jonathan-innis
Copy link
Contributor

Issue #, if available:

Description of changes:

This change updates our condition logic so that we consider a lack of a condition as a condition in an Unknown status. This also ensures that the first time that we set the StatusCondition that it's set to the CreationTimestamp since the first time that we set the condition, the condition hasn't transitioned so the "LastTransitionTime" of this condition was actually when the object was created

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jonathan-innis jonathan-innis requested a review from a team as a code owner November 25, 2024 01:21
@jonathan-innis jonathan-innis enabled auto-merge (squash) November 25, 2024 01:23
@jonathan-innis jonathan-innis force-pushed the consider-absent-unknown branch 2 times, most recently from 66012a2 to 35ecca4 Compare November 25, 2024 01:40
status/condition_set.go Outdated Show resolved Hide resolved
status/condition_set.go Outdated Show resolved Hide resolved
status/condition_set.go Outdated Show resolved Hide resolved
status/controller.go Outdated Show resolved Hide resolved
@jonathan-innis jonathan-innis force-pushed the consider-absent-unknown branch 3 times, most recently from 91a63d6 to cc1ecca Compare November 25, 2024 07:43
@jonathan-innis jonathan-innis merged commit bef8fba into awslabs:main Nov 25, 2024
1 check passed
@jonathan-innis jonathan-innis deleted the consider-absent-unknown branch November 25, 2024 17:31
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