This is an automated email from the ASF dual-hosted git repository.
ronething pushed a change to branch feat/cors
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
from d66bf872 feat: support cors annotations
add c34c6833 fix: r
No new revisions were added by this update.
Summary of changes:
internal/adc/translator/annotations.go | 7 +-
internal/adc/translator/annotations/cors_test.go | 113 -----------
.../translator/annotations/{ => plugins}/cors.go | 39 ++--
.../translator/annotations/plugins/cors_test.go | 48 +++++
.../adc/translator/annotations/plugins/plugins.go | 63 ++++++
internal/adc/translator/ingress.go | 21 +-
internal/adc/translator/ingress_test.go | 219 ---------------------
internal/webhook/v1/ingress_webhook.go | 4 -
8 files changed, 136 insertions(+), 378 deletions(-)
delete mode 100644 internal/adc/translator/annotations/cors_test.go
rename internal/adc/translator/annotations/{ => plugins}/cors.go (51%)
create mode 100644 internal/adc/translator/annotations/plugins/cors_test.go
create mode 100644 internal/adc/translator/annotations/plugins/plugins.go
delete mode 100644 internal/adc/translator/ingress_test.go