This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
from d871a2c3 fix: when secret created later than apisixtls it should be
updated (#1715)
add a431dd0b feat: Support GatewayAPI route attachment restriction (#1440)
No new revisions were added by this update.
Summary of changes:
go.mod | 4 +-
go.sum | 18 +-
pkg/providers/gateway/gateway.go | 15 +-
pkg/providers/gateway/gateway_class.go | 3 -
pkg/providers/gateway/gateway_httproute.go | 8 +
pkg/providers/gateway/gateway_tcproute.go | 9 +
pkg/providers/gateway/gateway_tlsroute.go | 9 +-
pkg/providers/gateway/gateway_udproute.go | 10 +-
pkg/providers/gateway/provider.go | 36 +++
pkg/providers/gateway/translation/gateway.go | 35 +--
.../gateway/translation/gateway_httproute.go | 8 +-
pkg/providers/gateway/types/types.go | 49 +++-
pkg/providers/gateway/validator.go | 274 ++++++++++++++++++++
pkg/providers/k8s/namespace/namespace.go | 3 +
pkg/providers/utils/domain.go | 70 +++++
.../utils/{schema_test.go => domain_test.go} | 30 ++-
pkg/providers/utils/string.go | 9 +
test/e2e/go.sum | 4 +-
test/e2e/scaffold/ingress.go | 9 +
test/e2e/suite-gateway/route_attchment.go | 288 +++++++++++++++++++++
20 files changed, 844 insertions(+), 47 deletions(-)
create mode 100644 pkg/providers/gateway/validator.go
create mode 100644 pkg/providers/utils/domain.go
copy pkg/providers/utils/{schema_test.go => domain_test.go} (50%)
create mode 100644 test/e2e/suite-gateway/route_attchment.go