blob: 8f7ed19ae1732950d955e968cc20800de5482ccf [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableAppcAppcDbhost }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: dbhost
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
8 app: appc-dbhost
9spec:
10 ports:
11 - name: "appc-dbhost-port"
12 port: 3306
13 selector:
14 app: appc-dbhost
15 clusterIP: None
16---
17apiVersion: v1
18kind: Service
19metadata:
20 name: sdnctldb01
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000021 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040022 labels:
23 app: appc-dbhost
24spec:
25 ports:
26 - port: 3306
27 selector:
28 app: appc-dbhost
29 clusterIP: None
30---
31apiVersion: v1
32kind: Service
33metadata:
34 name: sdnctldb02
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000035 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040036 labels:
37 app: appc-dbhost
38spec:
39 ports:
40 - port: 3306
41 selector:
42 app: appc-dbhost
43 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030044#{{ end }}
45#{{ if not .Values.disableAppcAppc }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040046---
47apiVersion: v1
48kind: Service
49metadata:
50 name: sdnhost
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000051 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040052 labels:
53 app: appc
54spec:
55 ports:
56 - name: "appc-port-8282"
57 port: 8282
58 targetPort: 8181
kerenj78eff212017-08-29 09:56:36 +000059 nodePort: {{ .Values.nodePortPrefix }}30
Mandeep Khindad6ea9872017-06-24 11:49:37 -040060 - name: "appc-port-1830"
61 port: 1830
kerenj78eff212017-08-29 09:56:36 +000062 nodePort: {{ .Values.nodePortPrefix }}31
Mandeep Khindad6ea9872017-06-24 11:49:37 -040063 type: NodePort
64 selector:
65 app: appc
yurynfcef9942017-10-26 17:10:50 +030066#{{ end }}
67#{{ if not .Values.disableAppcAppcDgbuilder }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040068---
69apiVersion: v1
70kind: Service
71metadata:
72 name: dgbuilder
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000073 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040074 labels:
75 app: appc-dgbuilder
76spec:
77 ports:
78 - name: "appc-dgbuilder-port"
79 port: 3000
80 targetPort: 3100
kerenj78eff212017-08-29 09:56:36 +000081 nodePort: {{ .Values.nodePortPrefix }}28
Mandeep Khindad6ea9872017-06-24 11:49:37 -040082 type: NodePort
83 selector:
84 app: appc-dgbuilder
yurynfcef9942017-10-26 17:10:50 +030085#{{ end }}