Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Created May 28, 2020 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mandarjog/6ee328b5f59d43c5237ab9c10a2ab0a1 to your computer and use it in GitHub Desktop.
Save mandarjog/6ee328b5f59d43c5237ab9c10a2ab0a1 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
labels:
istio.io/rev: default
operator.istio.io/version: 1.4.8
name: ext-authz-1
namespace: istio-system
spec:
configPatches:
- applyTo: HTTP_FILTER
match:
context: SIDECAR_INBOUND
listener:
filterChain:
filter:
name: envoy.http_connection_manager
subFilter:
name: istio_authn
patch:
operation: INSERT_AFTER
value:
name: envoy.ext_authz
config:
grpc_service:
google_grpc:
target_uri: 127.0.0.1:9191
stat_prefix: ext_authz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment