diff options
Diffstat (limited to 'kubernetes/sdnc')
-rw-r--r-- | kubernetes/sdnc/templates/all-services.yaml | 23 | ||||
-rw-r--r-- | kubernetes/sdnc/templates/sdnc-pv-pvc.yaml | 6 |
2 files changed, 26 insertions, 3 deletions
diff --git a/kubernetes/sdnc/templates/all-services.yaml b/kubernetes/sdnc/templates/all-services.yaml index 4a24947544..7223dfdcd7 100644 --- a/kubernetes/sdnc/templates/all-services.yaml +++ b/kubernetes/sdnc/templates/all-services.yaml @@ -64,6 +64,18 @@ metadata: namespace: "{{ .Values.nsPrefix }}-sdnc" labels: app: sdnc + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "sdnc", + "version": "v1", + "url": "/", + "protocol": "REST", + "port": "8282", + "visualRange":"1", + "path": "/" + } + ]' spec: ports: - name: "sdnc-port" @@ -81,6 +93,17 @@ metadata: namespace: "{{ .Values.nsPrefix }}-sdnc" labels: app: sdnc-portal + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "sdnc-portal", + "version": "v1", + "url": "/", + "protocol": "UI", + "port": "8843", + "visualRange":"0|1" + } + ]' spec: ports: - name: "sdnc-portal-port" diff --git a/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml b/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml index ac890c62b9..f8fe394907 100644 --- a/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml +++ b/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml @@ -1,10 +1,10 @@ apiVersion: v1 kind: PersistentVolume metadata: - name: sdnc-db + name: "{{ .Values.nsPrefix }}-sdnc-db" namespace: "{{ .Values.nsPrefix }}-sdnc" labels: - name: sdnc-db + name: "{{ .Values.nsPrefix }}-sdnc-db" spec: capacity: storage: 2Gi @@ -27,4 +27,4 @@ spec: storage: 2Gi selector: matchLabels: - name: sdnc-db + name: "{{ .Values.nsPrefix }}-sdnc-db" |