Skip to content

Commit e853cf9

Browse files
authored
update envoyfilter EXTENSION_CONFIG demo (#2253)
1 parent d4b274b commit e853cf9

File tree

5 files changed

+40
-20
lines changed

5 files changed

+40
-20
lines changed

networking/v1alpha3/envoy_filter.pb.go

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/envoy_filter.pb.html

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/envoy_filter.proto

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,16 +354,20 @@ import "networking/v1alpha3/sidecar.proto";
354354
// # The second patch instructs to apply the above Wasm filter to the listener/http connection manager.
355355
// - applyTo: HTTP_FILTER
356356
// match:
357-
// context: SIDECAR_INBOUND
357+
// listener:
358+
// filterChain:
359+
// filter:
360+
// name: envoy.filters.network.http_connection_manager
361+
// subFilter:
362+
// name: envoy.filters.http.router
358363
// patch:
359-
// operation: ADD
360-
// filterClass: AUTHZ # This filter will run *after* the Istio authz filter.
364+
// operation: INSERT_BEFORE
361365
// value:
362366
// name: my-wasm-extension # This must match the name above
363367
// config_discovery:
364368
// config_source:
365369
// ads: {}
366-
// type_urls: ["envoy.extensions.filters.http.wasm.v3.Wasm"]
370+
// type_urls: ["type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm"]
367371
// ```
368372
//
369373
// The following example adds a Wasm service extension for all proxies using a locally available Wasm file.

networking/v1alpha3/envoy_filter_deepcopy.gen.go

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/envoy_filter_json.gen.go

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)