blob: 6a9cd1d05e87634265bd91f94d8c19908841d19b [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $SDNC_APP_NAME
5 namespace: $KUBE_NONRTRIC_NAMESPACE
6 labels:
7 run: $SDNC_APP_NAME
8 autotest: SDNC
9spec:
10 type: ClusterIP
11 ports:
12 - port: $SDNC_EXTERNAL_PORT
13 targetPort: $SDNC_INTERNAL_PORT
14 protocol: TCP
15 name: http
16 - port: $SDNC_EXTERNAL_SECURE_PORT
17 targetPort: $SDNC_INTERNAL_SECURE_PORT
18 protocol: TCP
19 name: https
20 selector:
21 run: $SDNC_APP_NAME
22---
23apiVersion: v1
24kind: Service
25metadata:
26 name: dbhost
27 namespace: $KUBE_NONRTRIC_NAMESPACE
28 labels:
29 run: $SDNC_DB_APP_NAME
30 autotest: SDNC
31spec:
32 type: ClusterIP
33 ports:
34 - port: 3306
35 targetPort: 3306
36 protocol: TCP
37 name: http
38 selector:
39 run: $SDNC_DB_APP_NAME
40---
41apiVersion: v1
42kind: Service
43metadata:
44 name: sdnctldb01
45 namespace: $KUBE_NONRTRIC_NAMESPACE
46 labels:
47 run: $SDNC_DB_APP_NAME
48 autotest: SDNC
49spec:
50 type: ClusterIP
51 ports:
52 - port: 3306
53 targetPort: 3306
54 protocol: TCP
55 name: http
56 selector:
57 run: $SDNC_DB_APP_NAME