Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "listeners": [
- {
- "name": "http_10.28.14.30_50051",
- "address": {
- "socketAddress": {
- "address": "10.28.14.30",
- "portValue": 50051
- }
- },
- "filterChains": [
- {
- "filterChainMatch": {
- },
- "tlsContext": {
- "commonTlsContext": {
- "tlsCertificates": [
- {
- "certificateChain": {
- "filename": "/etc/certs/cert-chain.pem"
- },
- "privateKey": {
- "filename": "/etc/certs/key.pem"
- }
- }
- ],
- "validationContext": {
- "trustedCa": {
- "filename": "/etc/certs/root-cert.pem"
- }
- },
- "alpnProtocols": [
- "h2",
- "http/1.1"
- ]
- },
- "requireClientCertificate": true
- },
- "filters": [
- {
- "name": "envoy.http_connection_manager",
- "config": {
- "access_log": [
- {
- "config": {
- "path": "/dev/stdout"
- },
- "name": "envoy.file_access_log"
- }
- ],
- "generate_request_id": true,
- "http_filters": [
- {
- "config": {
- "allow_missing_or_failed": true,
- "rules": [
- {
- "audiences": [
- "https://mydomain.site/mystio"
- ],
- "forward": true,
- "forward_payload_header": "istio-sec-87540f83a474b314402e3cea9035e5195ad44c02",
- "issuer": "https://mydomain.auth0.com/",
- "local_jwks": {
- "inline_string": "{\"keys\":[{\"alg\":\"RS256\",\"kty\":\"RSA\",\"use\":\"sig\",\"x5c\":[\"MIIC7jCC89g==\"],\"n\":\"oepnh5Wq-ullBMw\",\"x5t\":\"REMyRMw\"}]}"
- }
- }
- ]
- },
- "name": "jwt-auth"
- },
- {
- "config": {
- "jwt_output_payload_locations": {
- "https://mydomain.auth0.com/": "istio-sec-87540f83a474b314402e3cea9035e5195ad44c02"
- },
- "policy": {
- "origins": [
- {
- "jwt": {
- "audiences": [
- "https://mydomain.site/mystio"
- ],
- "issuer": "https://mydomain.auth0.com/",
- "jwks_uri": "https://mydomain.auth0.com/.well-known/jwks.json"
- }
- }
- ],
- "peers": [
- {
- "mtls": {
- }
- }
- ],
- "principal_binding": "USE_ORIGIN"
- }
- },
- "name": "istio_authn"
- },
- {
- "config": {
- "default_destination_service": "welcome-app.mystio.svc.cluster.local",
- "mixer_attributes": {
- "attributes": {
- "destination.ip": {
- "bytes_value": "AAAAAAAAAAAAAP//ChwOHg=="
- },
- "destination.labels": {
- "string_map_value": {
- "entries": {
- "app": "welcome-app",
- "pod-template-hash": "1428334862",
- "tier": "userapp"
- }
- }
- },
- "destination.uid": {
- "string_value": "kubernetes://welcome-app-586d778db6-t2j9f.mystio"
- }
- }
- },
- "service_configs": {
- "welcome-app.mystio.svc.cluster.local": {
- "mixer_attributes": {
- "attributes": {
- "destination.labels": {
- "string_map_value": {
- "entries": {
- "app": "welcome-app",
- "pod-template-hash": "1428334862",
- "tier": "userapp"
- }
- }
- },
- "destination.service": {
- "string_value": "welcome-app.mystio.svc.cluster.local"
- }
- }
- }
- }
- },
- "transport": {
- "check_cluster": "outbound|15004||istio-policy.istio-system.svc.cluster.local",
- "report_cluster": "outbound|15004||istio-telemetry.istio-system.svc.cluster.local"
- }
- },
- "name": "mixer"
- },
- {
- "name": "envoy.cors"
- },
- {
- "name": "envoy.fault"
- },
- {
- "name": "envoy.router"
- }
- ],
- "route_config": {
- "name": "inbound|50051||welcome-app.mystio.svc.cluster.local",
- "validate_clusters": false,
- "virtual_hosts": [
- {
- "domains": [
- "*"
- ],
- "name": "inbound|http|50051",
- "routes": [
- {
- "decorator": {
- "operation": "default-route"
- },
- "match": {
- "prefix": "/"
- },
- "per_filter_config": {
- "mixer": {
- "mixer_attributes": {
- "attributes": {
- "destination.service": {
- "string_value": "welcome-app.mystio.svc.cluster.local"
- }
- }
- }
- }
- },
- "route": {
- "cluster": "inbound|50051||welcome-app.mystio.svc.cluster.local"
- }
- }
- ]
- }
- ]
- },
- "stat_prefix": "http",
- "tracing": {
- },
- "use_remote_address": false
- }
- }
- ]
- }
- ],
- "deprecatedV1": {
- "bindToPort": false
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement