istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/security/remote_jwks/testdata/requestauthn-with-se.yaml.tmpl (about) 1 --- 2 apiVersion: security.istio.io/v1beta1 3 kind: RequestAuthentication 4 metadata: 5 name: request-authn 6 spec: 7 selector: 8 matchLabels: 9 app: {{ .dst }} 10 jwtRules: 11 - issuer: "test-issuer-1@istio.io" 12 jwksUri: "http://example.com:8000/jwks" 13 outputPayloadToHeader: "x-test-payload" 14 forwardOriginalToken: true 15 --- 16 apiVersion: networking.istio.io/v1beta1 17 kind: ServiceEntry 18 metadata: 19 name: jwt-server-se 20 spec: 21 hosts: 22 - example.com 23 location: MESH_INTERNAL 24 ports: 25 - number: 8000 26 name: http 27 protocol: HTTP 28 resolution: DNS 29 endpoints: 30 - address: jwt-server.istio-system.svc.cluster.local 31 ---