Closed Schille closed 9 months ago
Thanks for the report. We are aware of the situation: GKE seems be advancing the supported Gateway API versions fairly rapidly (too rapidly, if you ask me).
Anyway, we have upgraded STUNner to the new version of the Kubernetes Gateway API. Let me quickly summarize the new rules in the hope that people hitting the same issue will find it useful:
apiVersion: gateway.networking.k8s.io/v1alpha2
to apiVersion: gateway.networking.k8s.io/v1beta1
and things should go fine.This subtlety will stay with us until the Gateway API goes GA (hopefully this year), but then we'll have to make another API version upgrade (from v1beta1 to v1). This is the price we pay for STUNner tracking a beta Kubernetes API: once things settle upstream we'll release STUNner v1 and then that should settle API versioning troubles for the foreseeable time. Please report any breakage you encounter meanwhile.
Closing this since this is not a STUNner issue. Let's hope Google will update GKE to the Gateway API v1 soon.
Applying this
GatewayClass
from your README.mdraises a webhook error on GKE Autopilot 1.27
Using
apiVersion: gateway.networking.k8s.io/v1beta1
works.The same is with
Gateway
. However,UDPRoute
only works withv1alpha2
.kubectl version --short