On-demand VHDS implementation (#8617)

Implements on-demand resolution of VirtualHosts via VHDS

Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>

Mirrored from https://github.com/envoyproxy/envoy @ 8e2d909ad22f84d9eb055f06890924a5879bad76
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent b6e5d0c036
commit ab80ff8c19
  1. 2
      BUILD
  2. 1
      docs/BUILD
  3. 9
      envoy/config/filter/http/on_demand/v2/BUILD
  4. 19
      envoy/config/filter/http/on_demand/v2/on_demand.proto
  5. 12
      envoy/extensions/filters/http/on_demand/v3alpha/BUILD
  6. 20
      envoy/extensions/filters/http/on_demand/v3alpha/on_demand.proto

@ -51,6 +51,7 @@ proto_library(
"//envoy/config/filter/http/ip_tagging/v2:pkg", "//envoy/config/filter/http/ip_tagging/v2:pkg",
"//envoy/config/filter/http/jwt_authn/v2alpha:pkg", "//envoy/config/filter/http/jwt_authn/v2alpha:pkg",
"//envoy/config/filter/http/lua/v2:pkg", "//envoy/config/filter/http/lua/v2:pkg",
"//envoy/config/filter/http/on_demand/v2:pkg",
"//envoy/config/filter/http/original_src/v2alpha1:pkg", "//envoy/config/filter/http/original_src/v2alpha1:pkg",
"//envoy/config/filter/http/rate_limit/v2:pkg", "//envoy/config/filter/http/rate_limit/v2:pkg",
"//envoy/config/filter/http/rbac/v2:pkg", "//envoy/config/filter/http/rbac/v2:pkg",
@ -143,6 +144,7 @@ proto_library(
"//envoy/extensions/filters/http/ip_tagging/v3alpha:pkg", "//envoy/extensions/filters/http/ip_tagging/v3alpha:pkg",
"//envoy/extensions/filters/http/jwt_authn/v3alpha:pkg", "//envoy/extensions/filters/http/jwt_authn/v3alpha:pkg",
"//envoy/extensions/filters/http/lua/v3alpha:pkg", "//envoy/extensions/filters/http/lua/v3alpha:pkg",
"//envoy/extensions/filters/http/on_demand/v3alpha:pkg",
"//envoy/extensions/filters/http/original_src/v3alpha:pkg", "//envoy/extensions/filters/http/original_src/v3alpha:pkg",
"//envoy/extensions/filters/http/ratelimit/v3alpha:pkg", "//envoy/extensions/filters/http/ratelimit/v3alpha:pkg",
"//envoy/extensions/filters/http/rbac/v3alpha:pkg", "//envoy/extensions/filters/http/rbac/v3alpha:pkg",

@ -51,6 +51,7 @@ proto_library(
"//envoy/config/filter/http/ip_tagging/v2:pkg", "//envoy/config/filter/http/ip_tagging/v2:pkg",
"//envoy/config/filter/http/jwt_authn/v2alpha:pkg", "//envoy/config/filter/http/jwt_authn/v2alpha:pkg",
"//envoy/config/filter/http/lua/v2:pkg", "//envoy/config/filter/http/lua/v2:pkg",
"//envoy/config/filter/http/on_demand/v2:pkg",
"//envoy/config/filter/http/original_src/v2alpha1:pkg", "//envoy/config/filter/http/original_src/v2alpha1:pkg",
"//envoy/config/filter/http/rate_limit/v2:pkg", "//envoy/config/filter/http/rate_limit/v2:pkg",
"//envoy/config/filter/http/rbac/v2:pkg", "//envoy/config/filter/http/rbac/v2:pkg",

@ -0,0 +1,9 @@
# DO NOT EDIT. This file is generated by tools/proto_sync.py.
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"],
)

@ -0,0 +1,19 @@
syntax = "proto3";
package envoy.config.filter.http.on_demand.v2;
import "udpa/annotations/migrate.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.config.filter.http.on_demand.v2";
option java_outer_classname = "OnDemandProto";
option java_multiple_files = true;
option (udpa.annotations.file_migrate).move_to_package =
"envoy.extensions.filters.http.on_demand.v3alpha";
// [#protodoc-title: OnDemand]
// IP tagging :ref:`configuration overview <config_http_filters_on_demand>`.
// [#extension: envoy.filters.http.on_demand]
message OnDemand {
}

@ -0,0 +1,12 @@
# DO NOT EDIT. This file is generated by tools/proto_sync.py.
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/config/filter/http/on_demand/v2:pkg",
"@com_github_cncf_udpa//udpa/annotations:pkg",
],
)

@ -0,0 +1,20 @@
syntax = "proto3";
package envoy.extensions.filters.http.on_demand.v3alpha;
import "udpa/annotations/versioning.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.extensions.filters.http.on_demand.v3alpha";
option java_outer_classname = "OnDemandProto";
option java_multiple_files = true;
// [#protodoc-title: OnDemand]
// IP tagging :ref:`configuration overview <config_http_filters_on_demand>`.
// [#extension: envoy.filters.http.on_demand]
message OnDemand {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.http.on_demand.v2.OnDemand";
}
Loading…
Cancel
Save