ori-edge / k8s_gateway

A CoreDNS plugin to resolve all types of external Kubernetes resources
Apache License 2.0
289 stars 61 forks source link

feat: upgrade Gateway API to v1beta1 #234

Closed horjulf closed 9 months ago

horjulf commented 10 months ago

Upgrades dependencies to latest, in specific Gateway API to release 0.8.1.

v1alpha2 is no longer supported, so this drops supports for that and aligns with usptream.

v1alpha2 of Gateway, GatewayClass, and HTTPRoute is no longer served
v1alpha2 of ReferenceGrant is deprecated
v1beta1 is now the storage version for ReferenceGrant

https://github.com/kubernetes-sigs/gateway-api/releases/tag/v0.8.1

larivierec commented 9 months ago

@networkop hey there, apologies for pinging you is there anything that can be done to get traction on this PR?

networkop commented 9 months ago

@horjulf @larivierec some of the tests are failing, can you PTAL?

larivierec commented 9 months ago

@horjulf @larivierec some of the tests are failing, can you PTAL?

Yup, I'll take a look :)

EDIT: from what i can see they are unrelated to the changes the version of Golang most probably needs to be updated EDIT2: I've been using this version in my cluster for a few days, it's looking good

@networkop, can you rerun the tests maybe?

image
larivierec commented 9 months ago

@horjulf, probably going to need to bump this to 1.21.3 https://github.com/ori-edge/k8s_gateway/blob/master/Dockerfile#L1

horjulf commented 9 months ago

@networkop Golang version updated to 1.21, that should fix the tests.

networkop commented 9 months ago

looks like the linter is still failing but all tests pass, so I'll merge it.