yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableVidVidMariadb }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: vid-mariadb |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-vid" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | spec: |
| 8 | ports: |
| 9 | - name: vid-mariadb |
| 10 | port: 3306 |
| 11 | selector: |
| 12 | app: vid-mariadb |
| 13 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 14 | #{{ end }} |
| 15 | #{{ if not .Values.disableVidVidServer }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | --- |
| 17 | apiVersion: v1 |
| 18 | kind: Service |
| 19 | metadata: |
| 20 | labels: |
| 21 | app: vid-server |
| 22 | name: vid-server |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 23 | namespace: "{{ .Values.nsPrefix }}-vid" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 24 | spec: |
| 25 | ports: |
| 26 | - name: vid-server |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 27 | nodePort: {{ .Values.nodePortPrefix }}00 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 28 | port: 8080 |
| 29 | selector: |
| 30 | app: vid-server |
| 31 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 32 | #{{ end }} |