blob: c38de9f017b7f53543898254b4437125b18cf949 [file] [log] [blame]
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +01001apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: $NRT_GATEWAY_APP_NAME
5 namespace: $KUBE_NONRTRIC_NAMESPACE
6 labels:
7 run: $NRT_GATEWAY_APP_NAME
8 autotest: NGW
9spec:
10 replicas: 1
11 selector:
12 matchLabels:
13 run: $NRT_GATEWAY_APP_NAME
14 template:
15 metadata:
16 labels:
17 run: $NRT_GATEWAY_APP_NAME
18 autotest: NGW
19 spec:
20 containers:
21 - name: $NRT_GATEWAY_APP_NAME
22 image: $NRT_GATEWAY_IMAGE
23 imagePullPolicy: Never
24 ports:
25 - name: http
26 containerPort: $NRT_GATEWAY_INTERNAL_PORT
27 - name: https
28 containerPort: $NRT_GATEWAY_INTERNAL_SECURE_PORT
29 volumeMounts:
30 - mountPath: $NRT_GATEWAY_CONFIG_MOUNT_PATH/$NRT_GATEWAY_CONFIG_FILE
31 subPath: $NRT_GATEWAY_CONFIG_FILE
32 name: ngw-conf-name
33 volumes:
34 - configMap:
35 defaultMode: 420
36 name: $NGW_CONFIG_CONFIGMAP_NAME
37 name: ngw-conf-name