blob: 1e3c00986f8440e5654bb40b4ac447900a5e4125 [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $HTTP_PROXY_APP_NAME
5 namespace: $KUBE_SIM_NAMESPACE
6 labels:
7 run: $HTTP_PROXY_APP_NAME
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +01008 autotest: HTTPPROXY
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01009spec:
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010010 type: NodePort
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010011 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
20 selector:
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010021 run: $HTTP_PROXY_APP_NAME