Update MSB annotations SO helm chart service
[oom.git] / kubernetes / so / charts / so-catalog-db-adapter / templates / service.yaml
index db3bb78..7416148 100755 (executable)
@@ -21,108 +21,6 @@ metadata:
     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
-  annotations:
-    msb.onap.org/service-info: '[
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/services",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1" ,
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/vnfResources/{vnfModelCustomizationUuid}",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/serviceVnfs",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-          {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/networkResources/{networkModelCustomizationUuid}",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/serviceNetworks",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/serviceResources",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/allottedResources/{arModelCustomizationUuid}",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/serviceAllottedResources",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/vfModules",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/serviceToscaCsar",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         },
-         {
-        "serviceName": "so/catdb",
-        "version": "v1",
-        "url": "/{version: v[0-9]+}/resourceRecipe",
-        "protocol": "REST",
-        "port": "{{ .Values.service.externalPort }}",
-        "visualRange":"1",
-        "lb_policy":"ip_hash"
-         }
-         ]'
 spec:
   type: {{ .Values.service.type }}
   ports:
@@ -137,4 +35,4 @@ spec:
     {{- end}}
   selector:
     app: {{ include "common.name" . }}
-    release: {{ .Release.Name }}
\ No newline at end of file
+    release: {{ .Release.Name }}