blob: cfb24bf98a9ef5f5898a58ff5d29057760c4a360 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableSdncSdncDbhost }}
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 }}-sdnc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
8 app: sdnc-dbhost
9spec:
10 ports:
11 - port: 3306
12 selector:
13 app: sdnc-dbhost
14 clusterIP: None
15---
16apiVersion: v1
17kind: Service
18metadata:
19 name: sdnctldb01
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000020 namespace: "{{ .Values.nsPrefix }}-sdnc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 labels:
22 app: sdnc-dbhost
23spec:
24 ports:
25 - port: 3306
26 selector:
27 app: sdnc-dbhost
28 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030029#{{ end }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040030---
31apiVersion: v1
32kind: Service
33metadata:
34 name: sdnctldb02
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000035 namespace: "{{ .Values.nsPrefix }}-sdnc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040036 labels:
37 app: sdnc-dbhost
38spec:
39 ports:
40 - port: 3306
41 selector:
42 app: sdnc-dbhost
43 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030044#{{ if not .Values.disableSdncSdncDgbuilder }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040045---
46apiVersion: v1
47kind: Service
48metadata:
49 name: sdnc-dgbuilder
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000050 namespace: "{{ .Values.nsPrefix }}-sdnc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040051 labels:
52 app: sdnc-dgbuilder
53spec:
54 ports:
55 - name: "sdnc-dgbuilder-port"
56 port: 3000
57 targetPort: 3100
kerenj78eff212017-08-29 09:56:36 +000058 nodePort: {{ .Values.nodePortPrefix }}03
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059 type: NodePort
60 selector:
61 app: sdnc-dgbuilder
yurynfcef9942017-10-26 17:10:50 +030062#{{ end }}
63#{{ if not .Values.disableSdncSdnc }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040064---
65apiVersion: v1
66kind: Service
67metadata:
68 name: sdnhost
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000069 namespace: "{{ .Values.nsPrefix }}-sdnc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040070 labels:
71 app: sdnc
HuabingZhao9e283932017-09-12 23:33:43 -040072 annotations:
73 msb.onap.org/service-info: '[
74 {
75 "serviceName": "sdnc",
76 "version": "v1",
77 "url": "/",
78 "protocol": "REST",
79 "port": "8282",
80 "visualRange":"1",
81 "path": "/"
82 }
83 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040084spec:
85 ports:
Mandeep Khindaedc59412017-10-05 12:18:14 +000086 - name: "sdnc-port-8181"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040087 port: 8282
88 targetPort: 8181
kerenj78eff212017-08-29 09:56:36 +000089 nodePort: {{ .Values.nodePortPrefix }}02
Mandeep Khindaedc59412017-10-05 12:18:14 +000090 - name: "sdnc-port-8101"
91 port: 8201
92 targetPort: 8101
Sylvain Desbureaux5d326f22017-11-09 16:49:40 +010093 nodePort: {{ .Values.nodePortPrefix }}08
Mandeep Khindad6ea9872017-06-24 11:49:37 -040094 type: NodePort
95 selector:
96 app: sdnc
yurynfcef9942017-10-26 17:10:50 +030097#{{ end }}
98#{{ if not .Values.disableSdncSdncPortal }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040099---
100apiVersion: v1
101kind: Service
102metadata:
103 name: sdnc-portal
Mandeep Khinda0e8f8892017-08-25 03:31:17 +0000104 namespace: "{{ .Values.nsPrefix }}-sdnc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400105 labels:
106 app: sdnc-portal
HuabingZhao9e283932017-09-12 23:33:43 -0400107 annotations:
108 msb.onap.org/service-info: '[
109 {
110 "serviceName": "sdnc-portal",
111 "version": "v1",
112 "url": "/",
113 "protocol": "UI",
114 "port": "8843",
115 "visualRange":"0|1"
116 }
117 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400118spec:
119 ports:
120 - name: "sdnc-portal-port"
121 port: 8843
kerenj78eff212017-08-29 09:56:36 +0000122 nodePort: {{ .Values.nodePortPrefix }}01
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400123 type: NodePort
124 selector:
125 app: sdnc-portal
Sylvain Desbureaux5d326f22017-11-09 16:49:40 +0100126#{{ end }}