yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableAppcAppcDbhost }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 5 | name: appc-dbhost |
| 6 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: appc-dbhost |
| 9 | spec: |
| 10 | ports: |
| 11 | - name: "appc-dbhost-port" |
| 12 | port: 3306 |
| 13 | selector: |
| 14 | app: appc-dbhost |
| 15 | clusterIP: None |
| 16 | --- |
| 17 | apiVersion: v1 |
| 18 | kind: Service |
| 19 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 20 | name: appc-sdnctldb01 |
| 21 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 22 | labels: |
| 23 | app: appc-dbhost |
| 24 | spec: |
| 25 | ports: |
| 26 | - port: 3306 |
| 27 | selector: |
| 28 | app: appc-dbhost |
| 29 | clusterIP: None |
| 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: Service |
| 33 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 34 | name: appc-sdnctldb02 |
| 35 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 36 | labels: |
| 37 | app: appc-dbhost |
| 38 | spec: |
| 39 | ports: |
| 40 | - port: 3306 |
| 41 | selector: |
| 42 | app: appc-dbhost |
| 43 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 44 | #{{ end }} |
| 45 | #{{ if not .Values.disableAppcAppc }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 46 | --- |
| 47 | apiVersion: v1 |
| 48 | kind: Service |
| 49 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 50 | name: appc-sdnhost |
| 51 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 52 | labels: |
| 53 | app: appc |
| 54 | spec: |
| 55 | ports: |
| 56 | - name: "appc-port-8282" |
| 57 | port: 8282 |
| 58 | targetPort: 8181 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 59 | nodePort: {{ .Values.nodePortPrefix }}30 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 60 | - name: "appc-port-1830" |
| 61 | port: 1830 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 62 | nodePort: {{ .Values.nodePortPrefix }}31 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 63 | type: NodePort |
| 64 | selector: |
| 65 | app: appc |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 66 | #{{ end }} |
| 67 | #{{ if not .Values.disableAppcAppcDgbuilder }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 68 | --- |
| 69 | apiVersion: v1 |
| 70 | kind: Service |
| 71 | metadata: |
| 72 | name: dgbuilder |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 73 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 74 | labels: |
| 75 | app: appc-dgbuilder |
| 76 | spec: |
| 77 | ports: |
| 78 | - name: "appc-dgbuilder-port" |
| 79 | port: 3000 |
| 80 | targetPort: 3100 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 81 | nodePort: {{ .Values.nodePortPrefix }}28 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 82 | type: NodePort |
| 83 | selector: |
| 84 | app: appc-dgbuilder |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 85 | #{{ end }} |