1 # Copyright © 2018 AT&T USA
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 name: {{ include "common.servicename" . }}
18 namespace: {{ include "common.namespace" . }}
20 app: {{ include "common.name" . }}
21 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
22 release: {{ .Release.Name }}
23 heritage: {{ .Release.Service }}
25 msb.onap.org/service-info: '[
27 "serviceName": "so/catdb",
31 "port": "{{ .Values.service.externalPort }}",
36 "serviceName": "so/catdb",
38 "url": "/{version: v[0-9]+}/vnfResources/{vnfModelCustomizationUuid}",
40 "port": "{{ .Values.service.externalPort }}",
45 "serviceName": "so/catdb",
47 "url": "/{version: v[0-9]+}/serviceVnfs",
49 "port": "{{ .Values.service.externalPort }}",
54 "serviceName": "so/catdb",
56 "url": "/{version: v[0-9]+}/networkResources/{networkModelCustomizationUuid}",
58 "port": "{{ .Values.service.externalPort }}",
63 "serviceName": "so/catdb",
65 "url": "/{version: v[0-9]+}/serviceNetworks",
67 "port": "{{ .Values.service.externalPort }}",
72 "serviceName": "so/catdb",
74 "url": "/{version: v[0-9]+}/serviceResources",
76 "port": "{{ .Values.service.externalPort }}",
81 "serviceName": "so/catdb",
83 "url": "/{version: v[0-9]+}/allottedResources/{arModelCustomizationUuid}",
85 "port": "{{ .Values.service.externalPort }}",
90 "serviceName": "so/catdb",
92 "url": "/{version: v[0-9]+}/serviceAllottedResources",
94 "port": "{{ .Values.service.externalPort }}",
99 "serviceName": "so/catdb",
101 "url": "/{version: v[0-9]+}/vfModules",
103 "port": "{{ .Values.service.externalPort }}",
105 "lb_policy":"ip_hash"
108 "serviceName": "so/catdb",
110 "url": "/{version: v[0-9]+}/serviceToscaCsar",
112 "port": "{{ .Values.service.externalPort }}",
114 "lb_policy":"ip_hash"
117 "serviceName": "so/catdb",
119 "url": "/{version: v[0-9]+}/resourceRecipe",
121 "port": "{{ .Values.service.externalPort }}",
123 "lb_policy":"ip_hash"
127 type: {{ .Values.service.type }}
129 {{if eq .Values.service.type "NodePort" -}}
130 - port: {{ .Values.service.internalPort }}
131 nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
132 name: {{ .Values.service.portName }}
134 - port: {{ .Values.service.externalPort }}
135 targetPort: {{ .Values.service.internalPort }}
136 name: {{ .Values.service.portName }}
139 app: {{ include "common.name" . }}
140 release: {{ .Release.Name }}