...
1---
2apiVersion: v1
3kind: Service
4metadata:
5 name: example-auth
6 annotations:
7 getambassador.io/config: |
8 ---
9 apiVersion: getambassador.io/v2
10 kind: AuthService
11 name: authentication
12 auth_service: "example-auth:3000"
13 path_prefix: "/extauth"
14 allowed_request_headers:
15 - "x-qotm-session"
16 allowed_authorization_headers:
17 - "x-qotm-session"
18spec:
19 type: ClusterIP
20 selector:
21 app: example-auth
22 ports:
23 - port: 3000
24 name: http-example-auth
25 targetPort: http-api
View as plain text