Skip to content

Set SupportedVersion on GatewayClass #1301

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

Merged
merged 11 commits into from
Dec 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Name return args
  • Loading branch information
Kate Osborn committed Dec 5, 2023
commit 512876344ef974e04255f6ff3a72582471990a89
2 changes: 1 addition & 1 deletion internal/framework/gatewayclass/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type apiVersion struct {

func ValidateCRDVersions(
crdMetadata map[types.NamespacedName]*metav1.PartialObjectMetadata,
) ([]conditions.Condition, bool) {
) (conds []conditions.Condition, valid bool) {
installedAPIVersions := getBundleVersions(crdMetadata)
supportedAPIVersion := parseVersionString(SupportedVersion)

Expand Down