This is an automated email from the ASF dual-hosted git repository.
liujun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
from ba038206 Merge pull request #227 from sjmshsh/master
add 7daa0a18 webhook
add a64df2cf webhook
new c04c9561 Merge pull request #228 from sjmshsh/master
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../{zone_helpers.go => zone_insight_helpers.go} | 10 +-
pkg/core/bootstrap/bootstrap.go | 9 ++
.../tag_route.go => zone/zone_manager.go} | 36 +++++---
.../managers/apis/zone/zone_manager_suite_test.go | 101 +++++++++++++++++++++
.../managers/apis/zone/zone_manager_test.go} | 11 +--
.../managers/apis/zone/zone_validator.go} | 81 +++++------------
pkg/plugins/runtime/k8s/plugin.go | 13 +++
.../k8s/webhooks/containerpatch_validator.go | 48 ++++++++++
.../k8s/webhooks/policy_namespace_validator.go} | 48 ++++------
.../runtime/k8s/webhooks/service_validator.go | 65 +++++++++++++
pkg/plugins/runtime/k8s/webhooks/zone_validator.go | 65 +++++++++++++
test/app/consumer/deployment.yaml | 55 +++++++++++
.../app/consumer/service.yaml | 23 ++---
test/app/provider/deployment.yaml | 55 +++++++++++
.../app/provider/service.yaml | 23 ++---
.../app/provider/serviceaccount.yaml | 38 ++++++--
16 files changed, 536 insertions(+), 145 deletions(-)
copy api/system/v1alpha1/{zone_helpers.go => zone_insight_helpers.go} (82%)
copy pkg/core/managers/apis/{tag_route/tag_route.go => zone/zone_manager.go}
(59%)
create mode 100644 pkg/core/managers/apis/zone/zone_manager_suite_test.go
copy pkg/{util/os/os_suite_test.go =>
core/managers/apis/zone/zone_manager_test.go} (90%)
copy pkg/{events/interfaces.go => core/managers/apis/zone/zone_validator.go}
(53%)
create mode 100644 pkg/plugins/runtime/k8s/webhooks/containerpatch_validator.go
copy pkg/{dubbo/servicemapping/register_request.go =>
plugins/runtime/k8s/webhooks/policy_namespace_validator.go} (50%)
create mode 100644 pkg/plugins/runtime/k8s/webhooks/service_validator.go
create mode 100644 pkg/plugins/runtime/k8s/webhooks/zone_validator.go
create mode 100644 test/app/consumer/deployment.yaml
copy app/dubboctl/internal/kube/testdata/input/ctl_client-apply_manifest.yaml
=> test/app/consumer/service.yaml (80%)
create mode 100644 test/app/provider/deployment.yaml
copy app/dubboctl/internal/kube/testdata/input/ctl_client-apply_manifest.yaml
=> test/app/provider/service.yaml (80%)
copy app/dubboctl/internal/kube/testdata/input/ctl_client-apply_manifest.yaml
=> test/app/provider/serviceaccount.yaml (56%)