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

Status condition from unstructured object #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jigisha620
Copy link

@jigisha620 jigisha620 commented May 20, 2024

Issue #, if available:

Description of changes:
This PR adds a change to convert unstructured object into a known type so that we can we can reuse the standard condition handling methods. Making this change in response to - kubernetes-sigs/karpenter#1248 (comment)

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

@jigisha620 jigisha620 requested a review from a team as a code owner May 20, 2024 16:46
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/condition_set_test.go Outdated Show resolved Hide resolved
@jigisha620 jigisha620 changed the title Add method to get status condition from unstructured object Status condition from unstructured object Jun 14, 2024
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/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/condition_set.go Show resolved Hide resolved
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
@jigisha620 jigisha620 force-pushed the feat-status-unstructured branch 2 times, most recently from e1c5851 to 60fdd0d Compare June 14, 2024 19:59
status/condition_set.go Outdated Show resolved Hide resolved
status/condition_set.go Outdated Show resolved Hide resolved
status/condition_set.go Show resolved Hide resolved
status/condition_set.go Outdated Show resolved Hide resolved
status/condition_set.go Outdated Show resolved Hide resolved
ellistarn
ellistarn previously approved these changes Jun 15, 2024
status/condition_set.go Show resolved Hide resolved
jonathan-innis
jonathan-innis previously approved these changes Jun 15, 2024
Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 Nice work!

status/condition_set.go Show resolved Hide resolved
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
ellistarn
ellistarn previously approved these changes Jun 15, 2024
jonathan-innis
jonathan-innis previously approved these changes Jun 16, 2024
Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

Bunch of nits, lgtm 🚀

status/condition_set_test.go Outdated Show resolved Hide resolved
status/condition_set_test.go Outdated Show resolved Hide resolved
status/condition_set_test.go Outdated Show resolved Hide resolved
status/condition_set_test.go Outdated Show resolved Hide resolved
status/condition_set_test.go Outdated Show resolved Hide resolved
status/condition_set_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

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

3 participants