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

Adds Support for GatewayClass SupportedVersion Condition #10140

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

Conversation

danehans
Copy link

@danehans danehans commented Oct 1, 2024

Description

Previously, the gateway2 controller would unconditionally set the GatewayClass Accepted condition to True. This PR adds a watch for the Gateway API CRDs that triggers GatewayClass reconciliation. The ReconcileGatewayClasses() method was updated to set GatewayClass status conditions based on the Gateway API spec.

Fixes: #10092
Part Of: #10093

Testing steps

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

BOT NOTES:
resolves #10092

@solo-changelog-bot
Copy link

Issues linked to changelog:
#10092

…ndition

Previously, the gateway2 controller would unconditionally set the GatewayClass Accepted
condition to `true`. This PR adds a watch for the Gateway API CRDs that triggers GatewayClass
reconciliation. The `ReconcileGatewayClasses()` method was updated to set GatewayClass status
conditionas based on the Gateway API spec.

Fixes: solo-io#10092

Signed-off-by: Daneyon Hansen <[email protected]>
@@ -32,6 +32,10 @@ const (
)

var (
// SupportedVersions specifies the supported versions of Gateway API.
// [TODO] Remove "v1.0.0-rc1" when https://github.com/solo-io/gloo/issues/10115 is fixed.
SupportedVersions = []string{"v1.1.0", "v1.0.0", "v1.0.0-rc1"}
Copy link
Author

Choose a reason for hiding this comment

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

Note that v1.1.0 was added to this list due to #10121

Copy link
Contributor

Choose a reason for hiding this comment

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

cc @sam-heilbron - this is somewhat relevant to the conversation we've been having around ironing out our GW API support matrix.

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.

Manage the GatewayClass SupportedVersion Status Condition
2 participants