You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2022/10/31 15:17:28 UTC
[apisix-ingress-controller] branch master updated (4e0749e6 -> 00855fa4)
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 4e0749e6 docs: update "ApisixTls" and "ApisixClusterConfig" (#1414)
add 00855fa4 feat: support plugin_metadata of apisix (#1369)
No new revisions were added by this update.
Summary of changes:
cmd/ingress/ingress.go | 1 +
conf/config-default.yaml | 1 +
.../plugin-metadata-config-map.yaml | 34 ++-
pkg/apisix/apisix.go | 9 +
pkg/apisix/cluster.go | 42 +++-
pkg/apisix/consumer.go | 6 +-
pkg/apisix/global_rule.go | 6 +-
pkg/apisix/nonexistentclient.go | 22 ++
pkg/apisix/plugin_metadata.go | 149 +++++++++++
pkg/apisix/pluginconfig.go | 6 +-
pkg/apisix/resource.go | 11 +
pkg/apisix/route.go | 6 +-
pkg/apisix/ssl.go | 6 +-
pkg/apisix/stream_route.go | 6 +-
pkg/apisix/upstream.go | 6 +-
pkg/config/config.go | 1 +
pkg/providers/controller.go | 18 +-
pkg/providers/k8s/configmap/configmap.go | 279 +++++++++++++++++++++
pkg/providers/k8s/{pod => configmap}/provider.go | 36 +--
.../translation/configyaml__parser_test.go | 79 ++++++
.../translation/configyaml_parser.go} | 47 ++--
pkg/providers/k8s/configmap/translation/parse.go | 67 +++++
.../k8s/configmap/translation/translation.go} | 53 ++--
pkg/providers/k8s/provider.go | 15 +-
pkg/providers/types/types.go | 31 +++
pkg/providers/utils/manifest.go | 99 +++++---
pkg/types/apisix/v1/types.go | 5 +
test/e2e/go.mod | 3 +
test/e2e/scaffold/k8s.go | 51 ++++
test/e2e/suite-chore/admin_api.go | 81 ++++++
.../suite-ingress-resource/configmap.go | 228 +++++++++++++++++
.../suite-ingress/suite-ingress-resource/stream.go | 2 +-
32 files changed, 1250 insertions(+), 156 deletions(-)
copy samples/deploy/admission/webhook-service.yaml => conf/plugin-metadata-config-map.yaml (61%)
create mode 100644 pkg/apisix/plugin_metadata.go
create mode 100644 pkg/providers/k8s/configmap/configmap.go
copy pkg/providers/k8s/{pod => configmap}/provider.go (61%)
create mode 100644 pkg/providers/k8s/configmap/translation/configyaml__parser_test.go
copy pkg/providers/k8s/{namespace/namespace_provider_mock.go => configmap/translation/configyaml_parser.go} (51%)
create mode 100644 pkg/providers/k8s/configmap/translation/parse.go
copy pkg/{apisix/noop.go => providers/k8s/configmap/translation/translation.go} (51%)
create mode 100644 test/e2e/suite-chore/admin_api.go
create mode 100644 test/e2e/suite-ingress/suite-ingress-resource/configmap.go