This is an automated email from the ASF dual-hosted git repository.
alinsran pushed a change to branch v2.0.0
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
from 45059943 chore: v2.0.0-rc5 release (#2607)
add 3bee9ac2 chore(e2e-test): update adc to 0.21.1 (#2609)
add 37a0b075 chore: add annotations extractor interface (#2610)
add 0f702bd9 docs: remove a link from CRD docs (#2611)
add 06e00cd3 fix: apisix global rule support plugins secret reference
(#2612)
add 50dda249 docs: update reference configuration examples (#2606)
add 16f43280 fix: incorrect parameters in log message (#2613)
add 2dc7ae60 feat: support upstream scheme/retries/timeouts via ingress
annotations (#2614)
add cbfa0389 feat: support kubernetes.io/ingress.class annotations (#2615)
add e3c2f816 chore(e2e-test): optimize the startup speed of
OpenResty/Nginx (#2617)
add d6cf0eaa feat: support redirect for ingress annotations (#2619)
add 6b708576 feat: support cors annotations for ingress (#2618)
add f554569c feat: support websocket annotations for ingress (#2621)
add b25c4b41 feat: support csrf annotations for ingress (#2626)
add 1af0dc74 docs: correct health check unhealthy timeout description
(#2625)
add 15932856 feat: support plugin config annotations for ingress (#2627)
add 36a3196e fix(ApisixRoute): failed to delete stream_route (#2624)
add ee561f73 feat: support allow/block http_methods for ingress
annotations (#2623)
add f4181872 test: use internal service instead of third party service
(#2629)
add 4cd10056 feat: support auth-type for ingress annotations (#2636)
add 9d4accd5 feat: support proxy rewrite annotations for ingress (#2632)
add d1abfd59 test: fix unstable websocket annotation test (#2637)
add 9be64b6a feat: support response rewrite annotations for ingress (#2638)
add 9baf472c feat: support cross-namespace access service for ingress
annotations (#2634)
add 0c7d37f7 docs: fix link to gateway api reference in doc (#2635)
add d3bc2a53 feat: support ip restriction for ingress annotations (#2642)
add e7d192b6 feat: support forward-auth for ingress annotations (#2641)
add b21b6e9d feat: support regex route for ingress annotations (#2640)
add 5a5729ca docs: update apisix ingress controller docs helm repo (#2649)
add 0d8e880d docs: update ingress annotation docs (#2645)
add 6f0e78cf fix(ApisixUpstream): cannot recognize kind (#2622)
add a9513d2a feat: support deployment of multiple data plane modes (#2647)
add ea34713d docs: update ApisixRoute stream support and fix typo (#2662)
add bc2fe905 docs: add configuration troubleshooting reference docs (#2646)
add 6a282419 docs: remove allowedRoutes from unsupported resource (#2659)
add 466ea420 fix: allow webhook calls to fail (#2671)
add 2bab77aa fix: record attachedRoutes and supportedkinds for gateway
status (#2670)
add 4f9cd000 feat: support disable gateway-api (#2672)
add ad223606 fix(atls): apply updated certificates when TLS secrets change
(#2674)
add 0c0c5f95 feat: support benchmark test (#2663)
add b70e22eb fix: wss related tests are unstable (#2675)
add 2d07436d chore: v2.0.0 release (#2676)
No new revisions were added by this update.
Summary of changes:
.github/workflows/apisix-e2e-test.yml | 64 +
.../{apisix-e2e-test.yml => benchmark-test.yml} | 35 +-
CHANGELOG.md | 121 ++
Makefile | 25 +-
api/adc/types.go | 10 +
api/v1alpha1/gatewayproxy_types.go | 6 +
api/v2/apisixroute_types.go | 4 +-
api/v2/apisixupstream_types.go | 4 +-
.../crd/bases/apisix.apache.org_apisixroutes.yaml | 4 +-
.../bases/apisix.apache.org_apisixupstreams.yaml | 20 +-
.../bases/apisix.apache.org_gatewayproxies.yaml | 8 +
config/default/kustomization.yaml | 218 ++--
config/manager/kustomization.yaml | 3 +
config/manager/manager.yaml | 41 +-
config/samples/config.yaml | 2 +
config/webhook/manifests.yaml | 24 +-
docs/en/latest/concepts/gateway-api.md | 3 +-
docs/en/latest/config.json | 4 +-
docs/en/latest/developer-guide.md | 14 +
.../get-apisix-ingress-controller.md | 2 +-
docs/en/latest/install.md | 2 +-
docs/en/latest/reference/api-reference.md | 9 +-
docs/en/latest/reference/example.md | 77 +-
docs/en/latest/reference/ingress-annotation.md | 612 ++++++++++
docs/en/latest/reference/troubleshoot.md | 56 +
docs/en/latest/upgrade-guide.md | 57 +-
go.mod | 13 +-
go.sum | 22 +
internal/adc/cache/store.go | 2 +-
internal/adc/client/client.go | 17 +-
internal/adc/client/executor.go | 40 +-
internal/adc/translator/annotations.go | 84 ++
.../annotations/pluginconfig/pluginconfig.go | 15 +-
.../annotations/plugins/authorization.go | 61 +
.../adc/translator/annotations/plugins/cors.go | 45 +
.../translator/annotations/plugins/cors_test.go | 48 +
.../adc/translator/annotations/plugins/csrf.go | 48 +
.../translator/annotations/plugins/csrf_test.go | 52 +
.../annotations/plugins/fault-injection.go | 64 +
.../annotations/plugins/fault_injection_test.go | 61 +
.../translator/annotations/plugins/forward-auth.go | 48 +
.../annotations/plugins/ip_restriction.go | 47 +
.../annotations/plugins/ip_restriction_test.go | 72 ++
.../adc/translator/annotations/plugins/plugins.go | 74 ++
.../adc/translator/annotations/plugins/redirect.go | 55 +
.../annotations/plugins/response_rewrite.go | 89 ++
.../annotations/plugins/response_rewrite_test.go | 139 +++
.../adc/translator/annotations/plugins/rewrite.go | 60 +
.../translator/annotations/plugins/rewrite_test.go | 87 ++
.../adc/translator/annotations/regex/regex.go | 17 +-
.../servicenamespace/servicenamespace.go | 18 +-
internal/adc/translator/annotations/types.go | 146 +++
.../translator/annotations/upstream/upstream.go | 88 ++
.../annotations/upstream/upstream_test.go | 98 ++
.../translator/annotations/websocket/websocket.go | 18 +-
internal/adc/translator/annotations_test.go | 352 ++++++
internal/adc/translator/apisixroute.go | 1 +
internal/adc/translator/gatewayproxy.go | 57 +-
internal/adc/translator/globalrule.go | 10 +-
internal/adc/translator/ingress.go | 118 +-
internal/controller/apisixconsumer_controller.go | 4 +-
internal/controller/apisixglobalrule_controller.go | 79 ++
internal/controller/apisixroute_controller.go | 22 +-
internal/controller/apisixtls_controller.go | 2 +-
internal/controller/config/types.go | 27 +-
internal/controller/consumer_controller.go | 5 +
internal/controller/gateway_controller.go | 64 +-
internal/controller/gatewayproxy_controller.go | 68 +-
internal/controller/httproute_controller.go | 11 +-
internal/controller/indexer/indexer.go | 153 ++-
internal/controller/indexer/ssl_host.go | 6 +-
internal/controller/ingress_controller.go | 167 ++-
internal/controller/status/updater.go | 7 +-
internal/controller/utils.go | 164 ++-
internal/manager/controllers.go | 268 +++--
internal/manager/readiness/manager.go | 11 +-
internal/manager/run.go | 3 +-
internal/provider/apisix/provider.go | 17 +-
internal/provider/init/init.go | 4 +-
internal/provider/options.go | 38 +-
internal/types/k8s.go | 17 +-
internal/types/k8s_test.go | 82 ++
internal/types/route_adapter.go | 147 +++
internal/webhook/v1/apisixconsumer_webhook.go | 2 +-
internal/webhook/v1/apisixroute_webhook.go | 2 +-
internal/webhook/v1/apisixtls_webhook.go | 2 +-
internal/webhook/v1/consumer_webhook.go | 2 +-
internal/webhook/v1/gateway_webhook.go | 2 +-
internal/webhook/v1/gatewayproxy_webhook.go | 2 +-
internal/webhook/v1/grpcroute_webhook.go | 2 +-
internal/webhook/v1/httproute_webhook.go | 2 +-
internal/webhook/v1/ingress_webhook.go | 78 +-
internal/webhook/v1/ingress_webhook_test.go | 96 --
internal/webhook/v1/ingressclass_webhook.go | 2 +-
internal/webhook/v1/tcproute_webhook.go | 2 +-
internal/webhook/v1/udproute_webhook.go | 2 +-
pkg/utils/k8s.go | 83 ++
releases/v2.0.0.toml | 84 ++
test/benchmark/benchmark_test.go | 430 +++++++
.../apisix/e2e_test.go => benchmark/suite_test.go} | 20 +-
test/benchmark/utis.go | 76 ++
test/conformance/suite_test.go | 1 +
test/e2e/apisix/mode.go | 183 +++
test/e2e/crds/v2/globalrule.go | 87 ++
test/e2e/crds/v2/route.go | 27 +-
test/e2e/crds/v2/streamroute.go | 15 +
test/e2e/crds/v2/tls.go | 21 +
test/e2e/framework/apisix_consts.go | 6 +-
test/e2e/framework/ingress.go | 1 +
test/e2e/framework/k8s.go | 10 +
.../e2e/framework/manifests/apisix-standalone.yaml | 153 ---
test/e2e/framework/manifests/apisix.yaml | 23 +
test/e2e/framework/manifests/ingress.yaml | 1 +
test/e2e/framework/manifests/nginx.yaml | 35 +-
test/e2e/gatewayapi/gateway.go | 224 ++++
test/e2e/gatewayapi/httproute.go | 26 +-
test/e2e/ingress/annotations.go | 1228 ++++++++++++++++++++
test/e2e/ingress/ingress.go | 98 +-
test/e2e/scaffold/apisix_deployer.go | 54 +-
test/e2e/scaffold/assertion.go | 37 +-
test/e2e/scaffold/deployer.go | 4 +-
test/e2e/scaffold/k8s.go | 19 +
test/e2e/scaffold/scaffold.go | 144 +++
test/e2e/webhook/ingress.go | 160 ---
124 files changed, 7198 insertions(+), 1205 deletions(-)
copy .github/workflows/{apisix-e2e-test.yml => benchmark-test.yml} (82%)
create mode 100644 docs/en/latest/reference/ingress-annotation.md
create mode 100644 docs/en/latest/reference/troubleshoot.md
create mode 100644 internal/adc/translator/annotations.go
copy hack/boilerplate.go.txt =>
internal/adc/translator/annotations/pluginconfig/pluginconfig.go (64%)
create mode 100644 internal/adc/translator/annotations/plugins/authorization.go
create mode 100644 internal/adc/translator/annotations/plugins/cors.go
create mode 100644 internal/adc/translator/annotations/plugins/cors_test.go
create mode 100644 internal/adc/translator/annotations/plugins/csrf.go
create mode 100644 internal/adc/translator/annotations/plugins/csrf_test.go
create mode 100644
internal/adc/translator/annotations/plugins/fault-injection.go
create mode 100644
internal/adc/translator/annotations/plugins/fault_injection_test.go
create mode 100644 internal/adc/translator/annotations/plugins/forward-auth.go
create mode 100644
internal/adc/translator/annotations/plugins/ip_restriction.go
create mode 100644
internal/adc/translator/annotations/plugins/ip_restriction_test.go
create mode 100644 internal/adc/translator/annotations/plugins/plugins.go
create mode 100644 internal/adc/translator/annotations/plugins/redirect.go
create mode 100644
internal/adc/translator/annotations/plugins/response_rewrite.go
create mode 100644
internal/adc/translator/annotations/plugins/response_rewrite_test.go
create mode 100644 internal/adc/translator/annotations/plugins/rewrite.go
create mode 100644 internal/adc/translator/annotations/plugins/rewrite_test.go
copy hack/boilerplate.go.txt =>
internal/adc/translator/annotations/regex/regex.go (66%)
copy hack/boilerplate.go.txt =>
internal/adc/translator/annotations/servicenamespace/servicenamespace.go (63%)
create mode 100644 internal/adc/translator/annotations/types.go
create mode 100644 internal/adc/translator/annotations/upstream/upstream.go
create mode 100644
internal/adc/translator/annotations/upstream/upstream_test.go
copy hack/boilerplate.go.txt =>
internal/adc/translator/annotations/websocket/websocket.go (64%)
create mode 100644 internal/adc/translator/annotations_test.go
create mode 100644 internal/types/k8s_test.go
create mode 100644 internal/types/route_adapter.go
create mode 100644 pkg/utils/k8s.go
create mode 100644 releases/v2.0.0.toml
create mode 100644 test/benchmark/benchmark_test.go
copy test/{e2e/apisix/e2e_test.go => benchmark/suite_test.go} (62%)
create mode 100644 test/benchmark/utis.go
create mode 100644 test/e2e/apisix/mode.go
delete mode 100644 test/e2e/framework/manifests/apisix-standalone.yaml
create mode 100644 test/e2e/ingress/annotations.go
delete mode 100644 test/e2e/webhook/ingress.go