We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
create GatewayClass resource like:
apiVersion: gateway.networking.k8s.io/v1alpha2 kind: GatewayClass metadata: namespace: ingress-apisix-e2e-tests-default-624859000 name: test-gateway-class spec: controllerName: apisix.apache.org/gateway-controller
GatewayClass Status still be "Waiting for controller":
❯ kubectl get gatewayclass -n ingress-apisix-e2e-tests-default-624859000 -o yaml apiVersion: v1 items: - apiVersion: gateway.networking.k8s.io/v1alpha2 kind: GatewayClass metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"gateway.networking.k8s.io/v1alpha2","kind":"GatewayClass","metadata":{"annotations":{},"name":"test-gateway-class"},"spec":{"controllerName":"apisix.apache.org/gateway-controller"}} creationTimestamp: "2022-11-01T07:23:37Z" generation: 1 name: test-gateway-class resourceVersion: "5288" uid: 4eec3b01-632b-46c3-9376-5e0864d486cd spec: controllerName: apisix.apache.org/gateway-controller status: conditions: - lastTransitionTime: "1970-01-01T00:00:00Z" message: Waiting for controller reason: Waiting status: Unknown type: Accepted kind: List metadata: resourceVersion: ""
As we can see, Namespace field didn't show in the Gatewayclass resource. But event handler
Namespace
apisix-ingress-controller/pkg/providers/gateway/gateway_class.go
Lines 206 to 208 in 6b38e80
controllerName
like description
no
GatewayClass Status should be updated.
The text was updated successfully, but these errors were encountered:
Yes GatewayClass is cluster scoped
Sorry, something went wrong.
This issue was discovered when I setup e2e-test for route attachment feature. Can I fix this issue with the same PR ?(route attachment)
Sure! Please
Successfully merging a pull request may close this issue.
Issue description
create GatewayClass resource like:
GatewayClass Status still be "Waiting for controller":
As we can see,
Namespace
field didn't show in the Gatewayclass resource. But event handlerapisix-ingress-controller/pkg/providers/gateway/gateway_class.go
Lines 206 to 208 in 6b38e80
May be we should just use
controllerName
to filter GatewayClass resource.Environment
Minimal test code / Steps to reproduce
like description
Actual result
no
Error log
no
Expected result
GatewayClass Status should be updated.
The text was updated successfully, but these errors were encountered: