blob: 181cab9590bc7e8aeb8aef624cb47026053e6201 [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:
BorislavG8bfc6cf2018-02-27 15:04:26 +00005 name: appc-dbhost
6 namespace: "{{ .Values.nsPrefix }}"
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:
BorislavG8bfc6cf2018-02-27 15:04:26 +000020 name: appc-sdnctldb01
21 namespace: "{{ .Values.nsPrefix }}"
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:
BorislavG8bfc6cf2018-02-27 15:04:26 +000034 name: appc-sdnctldb02
35 namespace: "{{ .Values.nsPrefix }}"
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:
BorislavG8bfc6cf2018-02-27 15:04:26 +000050 name: appc-sdnhost
51 namespace: "{{ .Values.nsPrefix }}"
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:
BorislavG042b6852018-03-04 15:03:52 +000072 name: appc-dgbuilder
BorislavG8bfc6cf2018-02-27 15:04:26 +000073 namespace: "{{ .Values.nsPrefix }}"
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
BorislavG8bfc6cf2018-02-27 15:04:26 +000085#{{ end }}