This is an automated email from the ASF dual-hosted git repository.
shreemaan-abhishek pushed a change to branch feat/cp-ca-bundle
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
from 2ea91819 fix: drop the always-PUT method parameter of buildHTTPRequest
add 2a8d507e feat: support Gateway API 1.6.0 (#2804)
add a1c2ec17 fix: never treat an unreachable API server as a missing API
resource (#2817)
add be19f90a fix: suppress cross-namespace Secret existence oracle in
Consumer webhook (#2806)
add 549f7f29 docs: fix incorrect unit test command in developer guide
(#2797)
add 058cb0d2 fix(httproute): read appProtocol for ExternalName services
(#2798)
add dad45c50 fix: preserve ApisixUpstream health check type (#2828)
add a22afa2e feat: allow L4 upstream schemes (tcp/tls/udp) for stream
backends (#2830)
add dc8db3d7 fix: fail loud when enable-csrf is set but csrf-key
annotation is missing (#2813)
add be4aaef5 fix: honor TCPRoute/UDPRoute sectionName and listener port
for StreamRoute matching (#2818)
add ad6a2376 Merge remote-tracking branch 'ups/master' into
feat/cp-ca-bundle
No new revisions were added by this update.
Summary of changes:
.github/workflows/apisix-conformance-test.yml | 4 +-
.github/workflows/apisix-e2e-test.yml | 16 +-
.github/workflows/benchmark-test.yml | 8 +-
.github/workflows/golangci-lint.yml | 2 +-
.github/workflows/lint-checker.yml | 2 +-
.github/workflows/push-docker.yaml | 2 +-
.github/workflows/unit-test.yml | 2 +-
.golangci.yml | 17 +
Makefile | 20 +-
README.md | 2 +-
api/v1alpha1/backendtrafficpolicy_types.go | 7 +-
api/v1alpha1/httproutepolicy_types.go | 4 +-
api/v1alpha1/l4routepolicy_types.go | 4 +-
api/v1alpha1/policies_type.go | 6 +-
api/v1alpha1/zz_generated.deepcopy.go | 12 +-
api/v2/apisixupstream_types.go | 7 +-
.../bases/apisix.apache.org_apisixupstreams.yaml | 16 +-
.../apisix.apache.org_backendtrafficpolicies.yaml | 44 ++-
.../bases/apisix.apache.org_httproutepolicies.yaml | 36 +-
.../bases/apisix.apache.org_l4routepolicies.yaml | 36 +-
config/samples/config.yaml | 8 +-
docs/en/latest/concepts/gateway-api.md | 2 +-
docs/en/latest/developer-guide.md | 4 +-
docs/en/latest/getting-started/configure-routes.md | 2 +-
.../get-apisix-ingress-controller.md | 2 +-
.../latest/getting-started/key-authentication.md | 2 +-
docs/en/latest/getting-started/load-balancing.md | 2 +-
docs/en/latest/getting-started/rate-limiting.md | 2 +-
docs/en/latest/install.md | 4 +-
docs/en/latest/reference/api-reference.md | 8 +-
docs/en/latest/reference/configuration-file.md | 8 +-
docs/en/latest/reference/example.md | 2 +-
docs/en/latest/reference/troubleshoot.md | 10 +-
go.mod | 165 ++++-----
go.sum | 391 ++++++++++++---------
.../adc/translator/annotations/plugins/csrf.go | 8 +-
.../translator/annotations/plugins/csrf_test.go | 10 +-
internal/adc/translator/annotations_test.go | 144 +++-----
internal/adc/translator/apisixroute.go | 2 +-
internal/adc/translator/apisixroute_test.go | 102 ++++++
internal/adc/translator/apisixupstream.go | 2 +
internal/adc/translator/apisixupstream_test.go | 50 +++
internal/adc/translator/gateway.go | 56 ++-
internal/adc/translator/gateway_test.go | 112 +++++-
internal/adc/translator/gatewayproxy.go | 2 +-
internal/adc/translator/grpcroute.go | 17 +-
internal/adc/translator/grpcroute_test.go | 136 ++++---
internal/adc/translator/httproute.go | 51 ++-
.../httproute_omitted_backendref_test.go | 95 +++++
internal/adc/translator/httproute_test.go | 264 +++++++++-----
internal/adc/translator/l4route_serverport_test.go | 211 +++++++++++
internal/adc/translator/l4route_test.go | 88 +++++
internal/adc/translator/l4routepolicy_test.go | 12 +-
internal/adc/translator/policies.go | 2 +-
internal/adc/translator/tcproute.go | 79 ++++-
internal/adc/translator/tlsroute.go | 2 +-
internal/adc/translator/translator.go | 68 ++--
internal/adc/translator/udproute.go | 15 +-
internal/controller/config/config.go | 2 +-
internal/controller/config/config_test.go | 5 +-
internal/controller/config/types.go | 8 +
internal/controller/consumer_controller.go | 31 +-
internal/controller/context.go | 8 +
internal/controller/gateway_controller.go | 69 +++-
.../controller/gateway_controller_refgrant_test.go | 148 ++++++++
internal/controller/gatewayclass_controller.go | 4 +-
internal/controller/gatewayproxy_controller.go | 9 +-
internal/controller/grpcroute_controller.go | 3 +-
internal/controller/httproute_controller.go | 8 +-
internal/controller/httproutepolicy.go | 11 +-
internal/controller/indexer/indexer.go | 93 +++--
internal/controller/policies.go | 16 +-
internal/controller/status.go | 12 +-
internal/controller/tcproute_controller.go | 16 +-
internal/controller/tlsroute_controller.go | 8 +-
internal/controller/udproute_controller.go | 16 +-
internal/controller/utils.go | 338 ++++++++++++++----
internal/controller/utils_frontendca_test.go | 151 ++++++++
internal/controller/utils_listenerstatus_test.go | 108 ++++++
internal/controller/utils_parentref_test.go | 234 ++++++++++++
internal/controller/utils_tlsmode_test.go | 98 ++++++
internal/manager/controllers.go | 100 ++++--
internal/manager/run.go | 71 +++-
internal/provider/provider.go | 7 +-
internal/types/k8s.go | 37 +-
internal/webhook/v1/apisixconsumer_webhook.go | 8 +-
internal/webhook/v1/apisixroute_webhook.go | 8 +-
internal/webhook/v1/apisixtls_webhook.go | 8 +-
internal/webhook/v1/consumer_webhook.go | 46 ++-
internal/webhook/v1/consumer_webhook_test.go | 170 ++++++++-
internal/webhook/v1/gateway_webhook.go | 7 +-
internal/webhook/v1/gateway_webhook_test.go | 4 +-
internal/webhook/v1/gatewayproxy_webhook.go | 8 +-
internal/webhook/v1/grpcroute_webhook.go | 8 +-
internal/webhook/v1/httproute_webhook.go | 8 +-
internal/webhook/v1/ingress_webhook.go | 30 +-
internal/webhook/v1/ingress_webhook_test.go | 45 +++
internal/webhook/v1/ingressclass_webhook.go | 7 +-
internal/webhook/v1/ssl/conflict_detector_test.go | 8 +-
internal/webhook/v1/tcproute_webhook.go | 8 +-
internal/webhook/v1/udproute_webhook.go | 8 +-
pkg/utils/k8s.go | 204 ++++++++++-
pkg/utils/k8s_test.go | 324 +++++++++++++++++
test/conformance/conformance_test.go | 71 ++--
test/e2e/crds/v2/streamroute.go | 57 +++
test/e2e/crds/v2/upstream.go | 5 +-
test/e2e/framework/ingress.go | 2 +
test/e2e/framework/manifests/ingress.yaml | 5 +
test/e2e/gatewayapi/gateway.go | 17 +-
test/e2e/gatewayapi/httproute.go | 18 +-
test/e2e/gatewayapi/tcproute.go | 101 +++++-
test/e2e/gatewayapi/udproute.go | 4 +-
test/e2e/scaffold/k8s.go | 4 +-
test/e2e/scaffold/scaffold.go | 28 +-
test/e2e/scaffold/tunnel.go | 221 ++++++++++++
115 files changed, 4388 insertions(+), 1052 deletions(-)
create mode 100644 internal/adc/translator/apisixupstream_test.go
create mode 100644 internal/adc/translator/httproute_omitted_backendref_test.go
create mode 100644 internal/adc/translator/l4route_serverport_test.go
create mode 100644 internal/controller/gateway_controller_refgrant_test.go
create mode 100644 internal/controller/utils_frontendca_test.go
create mode 100644 internal/controller/utils_listenerstatus_test.go
create mode 100644 internal/controller/utils_parentref_test.go
create mode 100644 internal/controller/utils_tlsmode_test.go
create mode 100644 pkg/utils/k8s_test.go
create mode 100644 test/e2e/scaffold/tunnel.go