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

BREAKING: Convert knative status conditions to operatorpkg #1245

Merged

Conversation

jonathan-innis
Copy link
Member

@jonathan-innis jonathan-innis commented May 10, 2024

Fixes #N/A

Description

This change converts knative's status conditions to operatorpkg status.Conditions package. This allows us to onboard to things like status.Controller that will give us additional metrics on our status conditions for free.

BREAKING: The severity field is removed from the conditions object. This field is not present in metav1.Condition but was present in the knative representation.

How was this change tested?

make presubmit

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 10, 2024
@k8s-ci-robot k8s-ci-robot requested review from engedaam and jmdeal May 10, 2024 19:42
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 10, 2024
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch 3 times, most recently from 25e826b to fa78114 Compare May 11, 2024 02:36
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 11, 2024
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch from fa78114 to b7d5461 Compare May 11, 2024 02:38
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 11, 2024
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch 4 times, most recently from afd44fc to 0eb0fdf Compare May 11, 2024 22:53
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch from 0eb0fdf to adbf30f Compare May 11, 2024 23:02
@jonathan-innis jonathan-innis marked this pull request as ready for review May 11, 2024 23:08
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 11, 2024
@k8s-ci-robot k8s-ci-robot requested a review from tallaxes May 11, 2024 23:08
@coveralls
Copy link

coveralls commented May 12, 2024

Pull Request Test Coverage Report for Build 9065520113

Details

  • 71 of 72 (98.61%) changed or added relevant lines in 18 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.03%) to 78.546%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/controllers/nodeclaim/lifecycle/registration.go 5 6 83.33%
Totals Coverage Status
Change from base Build 9033959232: -0.03%
Covered Lines: 8318
Relevant Lines: 10590

💛 - Coveralls

@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch 2 times, most recently from dd6cefe to 2fa50b0 Compare May 13, 2024 14:33
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch 2 times, most recently from 2e0c58e to 69bd6a7 Compare May 13, 2024 15:09
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch 3 times, most recently from b86052f to 383d4c3 Compare May 13, 2024 15:10
@jonathan-innis jonathan-innis force-pushed the status-conditions-operatorpkg branch from 383d4c3 to 07b31ab Compare May 13, 2024 15:21
Copy link
Contributor

@jigisha620 jigisha620 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

@jigisha620: changing LGTM is restricted to collaborators

In response to this:

/lgtm
/approve

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jigisha620, jonathan-innis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jonathan-innis jonathan-innis changed the title chore: Convert knative status conditions to operatorpkg BREAKING: Convert knative status conditions to operatorpkg May 13, 2024
Copy link
Contributor

@engedaam engedaam left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 13, 2024
@k8s-ci-robot k8s-ci-robot merged commit 49ce67f into kubernetes-sigs:main May 13, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants