blob: f172c1c773a2eab47d8e224566eee8c40e39c63a [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $SDNC_APP_NAME
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +01005 namespace: $KUBE_SDNC_NAMESPACE
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01006 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
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +010027 namespace: $KUBE_SDNC_NAMESPACE
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010028 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
BjornMagnussonXA6fc58fd2021-11-18 08:19:45 +010045 namespace: $KUBE_SDNC_NAMESPACE
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010046 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