X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fnbi%2Ftemplates%2Fdeployment.yaml;h=de260e3df8159ebbc96e935da9798835dc75adc6;hb=643827389ea12b4a426d707bd0ee68c178bc8e7f;hp=42d610f35134520065f74a1a0ba44b4fadc40e3d;hpb=f4e19adfad457a92a4564b9311fb71113ada0668;p=oom.git diff --git a/kubernetes/nbi/templates/deployment.yaml b/kubernetes/nbi/templates/deployment.yaml index 42d610f351..de260e3df8 100644 --- a/kubernetes/nbi/templates/deployment.yaml +++ b/kubernetes/nbi/templates/deployment.yaml @@ -1,4 +1,5 @@ # Copyright © 2018 Orange +# Modifications Copyright © 2018 Amdocs, Bell Canada # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -70,19 +71,19 @@ spec: - name: ONAP_LCPCLOUDREGIONID value: {{ .Values.config.openStackRegion }} - name: ONAP_TENANTID - value: {{ .Values.config.openStackServiceTenantName }} + value: {{ .Values.config.openStackVNFTenantId | quote }} - name: ONAP_CLOUDOWNER value: {{ .Values.config.cloudOwner }} - name: NBI_URL - value: "http://nbi.{{ include "common.namespace" . }}:8080/nbi/api/v1" + value: "http://nbi.{{ include "common.namespace" . }}:8080/nbi/api/v3" - name: SDC_HOST - value: "http://sdc-fe.{{ include "common.namespace" . }}:8080" + value: "http://sdc-be.{{ include "common.namespace" . }}:8080" - name: SDC_HEADER_ECOMPINSTANCEID value: {{ .Values.config.ecompInstanceId }} - name: SDC_HEADER_AUTHORIZATION value: {{ .Values.sdc_authorization }} - name: AAI_HOST - value: "http://aai.{{ include "common.namespace" . }}:8443" + value: "https://aai.{{ include "common.namespace" . }}:8443" - name: AAI_HEADER_AUTHORIZATION value: {{ .Values.aai_authorization }} - name: SO_HOST @@ -93,12 +94,18 @@ spec: {{- end }} - name: LOGGING_LEVEL_ORG_ONAP_NBI value: {{ .Values.config.loglevel }} + - name: MSB_ENABLED + value: "true" + - name: MSB_DISCOVERY_HOST + value: "msb-discovery.{{ include "common.namespace" . }}" + - name: MSB_DISCOVERY_PORT + value: "10081" volumeMounts: - mountPath: /etc/localtime name: localtime readOnly: true resources: -{{ toYaml .Values.resources | indent 12 }} +{{ include "common.resources" . | indent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }}