fix(traefik): set controllerName on GatewayClasses and Traefik providers #135
Reference in New Issue
Block a user
Delete Branch "benvin/fix-gatewayclass-controllernames"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Both GatewayClasses (
traefik-internal,traefik-external) were stuck asUnknown. Neither Traefik deployment hadcontrollerNameset inkubernetesGateway, so both defaulted totraefik.io/gateway-controller— which matched neither GatewayClass.Fix
gatewayclass-internal.yaml:controllerName: traefik.io/gateway-controller-internalgatewayclass-external.yaml:controllerName: traefik.io/gateway-controller-externalvalues-internal.yaml: addedcontrollerName: traefik.io/gateway-controller-internalvalues-external.yaml: addedcontrollerName: traefik.io/gateway-controller-externalTest plan
kubectl get gatewayclassshows both asAccepted: True