yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableSdncSdncDbhost }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: dbhost |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-sdnc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: sdnc-dbhost |
| 9 | spec: |
| 10 | ports: |
| 11 | - port: 3306 |
| 12 | selector: |
| 13 | app: sdnc-dbhost |
| 14 | clusterIP: None |
| 15 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: sdnctldb01 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}-sdnc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: sdnc-dbhost |
| 23 | spec: |
| 24 | ports: |
| 25 | - port: 3306 |
| 26 | selector: |
| 27 | app: sdnc-dbhost |
| 28 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 29 | #{{ end }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: Service |
| 33 | metadata: |
| 34 | name: sdnctldb02 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 35 | namespace: "{{ .Values.nsPrefix }}-sdnc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 36 | labels: |
| 37 | app: sdnc-dbhost |
| 38 | spec: |
| 39 | ports: |
| 40 | - port: 3306 |
| 41 | selector: |
| 42 | app: sdnc-dbhost |
| 43 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 44 | #{{ if not .Values.disableSdncSdncDgbuilder }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 45 | --- |
| 46 | apiVersion: v1 |
| 47 | kind: Service |
| 48 | metadata: |
| 49 | name: sdnc-dgbuilder |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 50 | namespace: "{{ .Values.nsPrefix }}-sdnc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 51 | labels: |
| 52 | app: sdnc-dgbuilder |
| 53 | spec: |
| 54 | ports: |
| 55 | - name: "sdnc-dgbuilder-port" |
| 56 | port: 3000 |
| 57 | targetPort: 3100 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 58 | nodePort: {{ .Values.nodePortPrefix }}03 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 59 | type: NodePort |
| 60 | selector: |
| 61 | app: sdnc-dgbuilder |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 62 | #{{ end }} |
| 63 | #{{ if not .Values.disableSdncSdnc }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 64 | --- |
| 65 | apiVersion: v1 |
| 66 | kind: Service |
| 67 | metadata: |
| 68 | name: sdnhost |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 69 | namespace: "{{ .Values.nsPrefix }}-sdnc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 70 | labels: |
| 71 | app: sdnc |
HuabingZhao | 9e28393 | 2017-09-12 23:33:43 -0400 | [diff] [blame] | 72 | 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 84 | spec: |
| 85 | ports: |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 86 | - name: "sdnc-port-8181" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 87 | port: 8282 |
| 88 | targetPort: 8181 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 89 | nodePort: {{ .Values.nodePortPrefix }}02 |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 90 | - name: "sdnc-port-8101" |
| 91 | port: 8201 |
| 92 | targetPort: 8101 |
Sylvain Desbureaux | 5d326f2 | 2017-11-09 16:49:40 +0100 | [diff] [blame] | 93 | nodePort: {{ .Values.nodePortPrefix }}08 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 94 | type: NodePort |
| 95 | selector: |
| 96 | app: sdnc |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 97 | #{{ end }} |
| 98 | #{{ if not .Values.disableSdncSdncPortal }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 99 | --- |
| 100 | apiVersion: v1 |
| 101 | kind: Service |
| 102 | metadata: |
| 103 | name: sdnc-portal |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 104 | namespace: "{{ .Values.nsPrefix }}-sdnc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 105 | labels: |
| 106 | app: sdnc-portal |
HuabingZhao | 9e28393 | 2017-09-12 23:33:43 -0400 | [diff] [blame] | 107 | 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 118 | spec: |
| 119 | ports: |
| 120 | - name: "sdnc-portal-port" |
| 121 | port: 8843 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 122 | nodePort: {{ .Values.nodePortPrefix }}01 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 123 | type: NodePort |
| 124 | selector: |
| 125 | app: sdnc-portal |
Sylvain Desbureaux | 5d326f2 | 2017-11-09 16:49:40 +0100 | [diff] [blame] | 126 | #{{ end }} |