vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 15 | #{{ if not .Values.disableSdcSdcEs }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | labels: |
| 20 | app: sdc-es |
| 21 | name: sdc-es |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 22 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 23 | spec: |
| 24 | ports: |
| 25 | - name: sdc-es-port-9200 |
| 26 | port: 9200 |
| 27 | - name: sdc-es-port-9300 |
| 28 | port: 9300 |
| 29 | selector: |
| 30 | app: sdc-es |
| 31 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 32 | #{{ end }} |
| 33 | #{{ if not .Values.disableSdcSdcCs }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 34 | --- |
| 35 | apiVersion: v1 |
| 36 | kind: Service |
| 37 | metadata: |
| 38 | labels: |
| 39 | app: sdc-cs |
| 40 | name: sdc-cs |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 41 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 42 | spec: |
| 43 | ports: |
| 44 | - name: sdc-cs-port-9042 |
| 45 | port: 9042 |
| 46 | - name: sdc-cs-port-9160 |
| 47 | port: 9160 |
| 48 | selector: |
| 49 | app: sdc-cs |
| 50 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 51 | #{{ end }} |
| 52 | #{{ if not .Values.disableSdcSdcKb }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 53 | --- |
| 54 | apiVersion: v1 |
| 55 | kind: Service |
| 56 | metadata: |
| 57 | labels: |
| 58 | app: sdc-kb |
| 59 | name: sdc-kb |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 60 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 61 | spec: |
| 62 | ports: |
| 63 | - name: sdc-kb-port-5601 |
| 64 | port: 5601 |
| 65 | selector: |
| 66 | app: sdc-kb |
| 67 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 68 | #{{ end }} |
| 69 | #{{ if not .Values.disableSdcSdcBe }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 70 | --- |
| 71 | apiVersion: v1 |
| 72 | kind: Service |
| 73 | metadata: |
| 74 | labels: |
| 75 | app: sdc-be |
| 76 | name: sdc-be |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 77 | namespace: "{{ .Values.nsPrefix }}" |
HuabingZhao | 19f78a7 | 2017-09-15 04:58:43 -0400 | [diff] [blame] | 78 | annotations: |
| 79 | msb.onap.org/service-info: '[ |
| 80 | { |
| 81 | "serviceName": "sdc", |
| 82 | "version": "v1", |
| 83 | "url": "/sdc/v1", |
| 84 | "protocol": "REST", |
| 85 | "port": "8080", |
| 86 | "visualRange":"1" |
| 87 | }, |
| 88 | { |
| 89 | "serviceName": "sdc-deprecated", |
| 90 | "version": "v1", |
| 91 | "url": "/sdc/v1", |
| 92 | "protocol": "REST", |
| 93 | "port": "8080", |
| 94 | "visualRange":"1", |
| 95 | "path":"/sdc/v1" |
| 96 | } |
| 97 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 98 | spec: |
| 99 | ports: |
| 100 | - name: sdc-be-port-8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 101 | nodePort: {{ .Values.nodePortPrefix }}04 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 102 | port: 8443 |
| 103 | - name: sdc-be-port-8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 104 | nodePort: {{ .Values.nodePortPrefix }}05 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 105 | port: 8080 |
| 106 | selector: |
| 107 | app: sdc-be |
| 108 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 109 | #{{ end }} |
| 110 | #{{ if not .Values.disableSdcSdcFe }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 111 | --- |
| 112 | apiVersion: v1 |
| 113 | kind: Service |
| 114 | metadata: |
| 115 | labels: |
| 116 | app: sdc-fe |
| 117 | name: sdc-fe |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 118 | namespace: "{{ .Values.nsPrefix }}" |
HuabingZhao | 19f78a7 | 2017-09-15 04:58:43 -0400 | [diff] [blame] | 119 | annotations: |
| 120 | msb.onap.org/service-info: '[ |
| 121 | { |
| 122 | "serviceName": "sdc-gui", |
| 123 | "version": "v1", |
| 124 | "url": "/sdc1", |
| 125 | "protocol": "UI", |
| 126 | "port": "8181", |
| 127 | "visualRange":"0|1" |
| 128 | } |
| 129 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 130 | spec: |
| 131 | ports: |
| 132 | - name: sdc-fe-port-9443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 133 | nodePort: {{ .Values.nodePortPrefix }}07 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 134 | port: 9443 |
| 135 | - name: sdc-fe-port-8181 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 136 | nodePort: {{ .Values.nodePortPrefix }}06 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 137 | port: 8181 |
| 138 | selector: |
| 139 | app: sdc-fe |
| 140 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 141 | #{{ end }} |