blob: 138da711f4f467d92c377f2158a516f956b8c93f [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: $HTTP_PROXY_APP_NAME
5 namespace: $KUBE_SIM_NAMESPACE
6 labels:
7 run: $HTTP_PROXY_APP_NAME
8 autotest: HTTPPROXY
9spec:
10 replicas: 1
11 selector:
12 matchLabels:
13 run: $HTTP_PROXY_APP_NAME
14 template:
15 metadata:
16 labels:
17 run: $HTTP_PROXY_APP_NAME
18 autotest: HTTPPROXY
19 spec:
20 containers:
21 - name: $HTTP_PROXY_APP_NAME
22 image: $HTTP_PROXY_IMAGE
BjornMagnussonXA483ee332021-04-08 01:35:24 +020023 imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010024 ports:
25 - name: http
26 containerPort: $HTTP_PROXY_INTERNAL_PORT
27 - name: web
28 containerPort: $HTTP_PROXY_WEB_INTERNAL_PORT
BjornMagnussonXA674793d2021-05-06 19:49:17 +020029 - name: https
30 containerPort: $HTTP_PROXY_INTERNAL_SECURE_PORT
31 - name: webs
32 containerPort: $HTTP_PROXY_WEB_INTERNAL_SECURE_PORT