BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: $HTTP_PROXY_APP_NAME |
| 5 | namespace: $KUBE_SIM_NAMESPACE |
| 6 | labels: |
| 7 | run: $HTTP_PROXY_APP_NAME |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 8 | autotest: HTTPPROXY |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 9 | spec: |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 10 | type: NodePort |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 11 | ports: |
| 12 | - port: $HTTP_PROXY_EXTERNAL_PORT |
| 13 | targetPort: $HTTP_PROXY_INTERNAL_PORT |
| 14 | protocol: TCP |
| 15 | name: http |
| 16 | - port: $HTTP_PROXY_WEB_EXTERNAL_PORT |
| 17 | targetPort: $HTTP_PROXY_WEB_INTERNAL_PORT |
| 18 | protocol: TCP |
| 19 | name: web |
BjornMagnussonXA | 674793d | 2021-05-06 19:49:17 +0200 | [diff] [blame^] | 20 | - port: $HTTP_PROXY_EXTERNAL_SECURE_PORT |
| 21 | targetPort: $HTTP_PROXY_INTERNAL_SECURE_PORT |
| 22 | protocol: TCP |
| 23 | name: https |
| 24 | - port: $HTTP_PROXY_WEB_EXTERNAL_SECURE_PORT |
| 25 | targetPort: $HTTP_PROXY_WEB_INTERNAL_SECURE_PORT |
| 26 | protocol: TCP |
| 27 | name: webs |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 28 | selector: |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 29 | run: $HTTP_PROXY_APP_NAME |