blob: 1aa2bb0a0b41c6ea40e10f886652d13c2519ef6a [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
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-vid"
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
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000023 namespace: "{{ .Values.nsPrefix }}-vid"
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 }}