blob: 1fe404800cd5783e76b91134f1e5d21b520ec24d [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $PROD_STUB_APP_NAME
5 namespace: $KUBE_SIM_NAMESPACE
6 labels:
7 run: $PROD_STUB_APP_NAME
8 autotest: PROD_STUB
9spec:
10 type: ClusterIP
11 ports:
12 - port: $PROD_STUB_EXTERNAL_PORT
13 targetPort: $PROD_STUB_INTERNAL_PORT
14 protocol: TCP
15 name: http
16 - port: $PROD_STUB_EXTERNAL_SECURE_PORT
17 targetPort: $PROD_STUB_INTERNAL_SECURE_PORT
18 protocol: TCP
19 name: https
20 selector:
21 run: $PROD_STUB_APP_NAME