Skip to content

Instantly share code, notes, and snippets.

@xring
Created May 30, 2019 03:43
Show Gist options
  • Save xring/ff3e5d25cffbe2e53243a8c1096cc72f to your computer and use it in GitHub Desktop.
Save xring/ff3e5d25cffbe2e53243a8c1096cc72f to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: inf-auth-gateway-filter-grpc
spec:
workloadLabels:
app: istio-ingressgateway
filters:
- listenerMatch:
portNumber: 443
listenerType: GATEWAY
filterName: envoy.ext_authz
filterType: HTTP
insertPosition:
index: FIRST
filterConfig:
grpc_service:
google_grpc:
target_uri: inf-auth-gateway-grpc.x.svc.cluster.local:80
stat_prefix: ext_authz
#failure_mode_allow: true
#timeout: 1s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment