istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/security/remote_jwks/testdata/requestauthn-with-se-timeout.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?delay={{ .delay }}"
    13      outputPayloadToHeader: "x-test-payload"
    14      forwardOriginalToken: true
    15      timeout: {{ .timeout }}
    16  ---
    17  apiVersion: networking.istio.io/v1beta1
    18  kind: ServiceEntry
    19  metadata:
    20    name: jwt-server-se
    21  spec:
    22    hosts:
    23    - example.com
    24    location: MESH_INTERNAL
    25    ports:
    26    - number: 8000
    27      name: http
    28      protocol: HTTP
    29    resolution: DNS
    30    endpoints:
    31    - address: jwt-server.istio-system.svc.cluster.local
    32  ---