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

provisioner: Set SupportedVersion condition on GatewayClass #6147

Merged

Conversation

sunjayBhatia
Copy link
Member

@sunjayBhatia sunjayBhatia commented Jan 30, 2024

Based on Gateway API CRD bundle-version annotation

We will still reconcile the GatewayClass etc. but will set a status condition on the GatewayClass saying this support is best effort.

Fixes #5754

Based on Gateway API CRD bundle-version annotation

We will still reconcile the GatewayClass etc. but will set a
status condition on the GatewayClass saying this support is best effort.

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
@sunjayBhatia sunjayBhatia added the release-note/small A small change that needs one line of explanation in the release notes. label Jan 30, 2024
@sunjayBhatia sunjayBhatia requested a review from a team as a code owner January 30, 2024 22:52
@sunjayBhatia sunjayBhatia requested review from tsaarni, skriss, a team, izturn and clayton-gonsalves and removed request for a team January 30, 2024 22:52
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (54fc8fc) 78.81% compared to head (6615298) 78.57%.
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6147      +/-   ##
==========================================
- Coverage   78.81%   78.57%   -0.24%     
==========================================
  Files         138      140       +2     
  Lines       19790    19952     +162     
==========================================
+ Hits        15597    15677      +80     
- Misses       3884     3966      +82     
  Partials      309      309              
Files Coverage Δ
internal/provisioner/scheme.go 80.00% <100.00%> (+1.42%) ⬆️
internal/provisioner/controller/gatewayclass.go 70.24% <91.13%> (+6.38%) ⬆️

... and 10 files with indirect coverage changes

Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

LGTM, I think adding the suggested E2E would be a good idea

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
@sunjayBhatia sunjayBhatia merged commit ac49aee into projectcontour:main Jan 31, 2024
26 checks passed
@sunjayBhatia sunjayBhatia deleted the gwclass-supported-version branch January 31, 2024 21:06
@danehans
Copy link
Contributor

danehans commented Dec 9, 2024

@sunjayBhatia PTAL at kubernetes-sigs/gateway-api#3368 which intends to add a SupportedVersion conformance test. The PR has triggered a discussion regarding the relevancy of this feature. When you have a moment, can you comment in the related discussion to help the Gateway API community better understand your use case of this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/small A small change that needs one line of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gateway API: set supported version condition on GatewayClass
4 participants