yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableSdcSdcEs }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | labels: |
| 6 | app: sdc-es |
| 7 | name: sdc-es |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 8 | namespace: "{{ .Values.nsPrefix }}-sdc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 9 | spec: |
| 10 | ports: |
| 11 | - name: sdc-es-port-9200 |
| 12 | port: 9200 |
| 13 | - name: sdc-es-port-9300 |
| 14 | port: 9300 |
| 15 | selector: |
| 16 | app: sdc-es |
| 17 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 18 | #{{ end }} |
| 19 | #{{ if not .Values.disableSdcSdcCs }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 20 | --- |
| 21 | apiVersion: v1 |
| 22 | kind: Service |
| 23 | metadata: |
| 24 | labels: |
| 25 | app: sdc-cs |
| 26 | name: sdc-cs |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 27 | namespace: "{{ .Values.nsPrefix }}-sdc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 28 | spec: |
| 29 | ports: |
| 30 | - name: sdc-cs-port-9042 |
| 31 | port: 9042 |
| 32 | - name: sdc-cs-port-9160 |
| 33 | port: 9160 |
| 34 | selector: |
| 35 | app: sdc-cs |
| 36 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 37 | #{{ end }} |
| 38 | #{{ if not .Values.disableSdcSdcKb }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 39 | --- |
| 40 | apiVersion: v1 |
| 41 | kind: Service |
| 42 | metadata: |
| 43 | labels: |
| 44 | app: sdc-kb |
| 45 | name: sdc-kb |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 46 | namespace: "{{ .Values.nsPrefix }}-sdc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 47 | spec: |
| 48 | ports: |
| 49 | - name: sdc-kb-port-5601 |
| 50 | port: 5601 |
| 51 | selector: |
| 52 | app: sdc-kb |
| 53 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 54 | #{{ end }} |
| 55 | #{{ if not .Values.disableSdcSdcBe }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 56 | --- |
| 57 | apiVersion: v1 |
| 58 | kind: Service |
| 59 | metadata: |
| 60 | labels: |
| 61 | app: sdc-be |
| 62 | name: sdc-be |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 63 | namespace: "{{ .Values.nsPrefix }}-sdc" |
HuabingZhao | 19f78a7 | 2017-09-15 04:58:43 -0400 | [diff] [blame] | 64 | annotations: |
| 65 | msb.onap.org/service-info: '[ |
| 66 | { |
| 67 | "serviceName": "sdc", |
| 68 | "version": "v1", |
| 69 | "url": "/sdc/v1", |
| 70 | "protocol": "REST", |
| 71 | "port": "8080", |
| 72 | "visualRange":"1" |
| 73 | }, |
| 74 | { |
| 75 | "serviceName": "sdc-deprecated", |
| 76 | "version": "v1", |
| 77 | "url": "/sdc/v1", |
| 78 | "protocol": "REST", |
| 79 | "port": "8080", |
| 80 | "visualRange":"1", |
| 81 | "path":"/sdc/v1" |
| 82 | } |
| 83 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 84 | spec: |
| 85 | ports: |
| 86 | - name: sdc-be-port-8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 87 | nodePort: {{ .Values.nodePortPrefix }}04 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 88 | port: 8443 |
| 89 | - name: sdc-be-port-8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 90 | nodePort: {{ .Values.nodePortPrefix }}05 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 91 | port: 8080 |
| 92 | selector: |
| 93 | app: sdc-be |
| 94 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 95 | #{{ end }} |
| 96 | #{{ if not .Values.disableSdcSdcFe }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 97 | --- |
| 98 | apiVersion: v1 |
| 99 | kind: Service |
| 100 | metadata: |
| 101 | labels: |
| 102 | app: sdc-fe |
| 103 | name: sdc-fe |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 104 | namespace: "{{ .Values.nsPrefix }}-sdc" |
HuabingZhao | 19f78a7 | 2017-09-15 04:58:43 -0400 | [diff] [blame] | 105 | annotations: |
| 106 | msb.onap.org/service-info: '[ |
| 107 | { |
| 108 | "serviceName": "sdc-gui", |
| 109 | "version": "v1", |
| 110 | "url": "/sdc1", |
| 111 | "protocol": "UI", |
| 112 | "port": "8181", |
| 113 | "visualRange":"0|1" |
| 114 | } |
| 115 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 116 | spec: |
| 117 | ports: |
| 118 | - name: sdc-fe-port-9443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 119 | nodePort: {{ .Values.nodePortPrefix }}07 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 120 | port: 9443 |
| 121 | - name: sdc-fe-port-8181 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 122 | nodePort: {{ .Values.nodePortPrefix }}06 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 123 | port: 8181 |
| 124 | selector: |
| 125 | app: sdc-fe |
| 126 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 127 | #{{ end }} |