blob: cd22b7d095c65e51177d02ba705fac2f8c986c23 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableVidVidMariadb }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: vid-mariadb
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007spec:
8 ports:
9 - name: vid-mariadb
10 port: 3306
11 selector:
12 app: vid-mariadb
13 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030014#{{ end }}
15#{{ if not .Values.disableVidVidServer }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040016---
17apiVersion: v1
18kind: Service
19metadata:
20 labels:
21 app: vid-server
22 name: vid-server
BorislavG8bfc6cf2018-02-27 15:04:26 +000023 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040024spec:
25 ports:
26 - name: vid-server
kerenj78eff212017-08-29 09:56:36 +000027 nodePort: {{ .Values.nodePortPrefix }}00
Mandeep Khindad6ea9872017-06-24 11:49:37 -040028 port: 8080
29 selector:
30 app: vid-server
31 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030032#{{ end }}