Fix bad values for configuring NBI. 33/49933/3
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 1 Jun 2018 12:28:39 +0000 (14:28 +0200)
committerMandeep Khinda <mandeep.khinda@amdocs.com>
Tue, 5 Jun 2018 22:46:27 +0000 (22:46 +0000)
PS-3 MK: the sample value for openStackVNFTenantId is being
  interpolated as a number because it is all numeric.
  Going with the quoting it at the template level.
  Changing the value to 12345abcde probably would work too.

Change-Id: I2f81430e56f465543d3701a2d8cd4b562e7e987d
Issue-ID: OOM-1116
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
kubernetes/nbi/templates/deployment.yaml
kubernetes/nbi/values.yaml
kubernetes/onap/values.yaml

index 0657249..57bdf34 100644 (file)
@@ -70,7 +70,7 @@ 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
index 1974f2c..68beacd 100644 (file)
@@ -41,7 +41,7 @@ config:
   cloudOwner: CloudOwner
   ecompInstanceId: OOM
   openStackRegion: RegionOne
-  openStackServiceTenantName: 31047205ce114b60833b23e400d6a535
+  openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
 
 mariadb:
   nameOverride: nbi-mariadb
index bcc90fc..b8f15e1 100644 (file)
@@ -97,11 +97,8 @@ nbi:
   enabled: true
   config:
     # openstack configuration
-    openStackUserName: "vnf_user"
     openStackRegion: "Yolo"
-    openStackKeyStoneUrl: "http://1.2.3.4:5000"
-    openStackServiceTenantName: "service"
-    openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
+    openStackVNFTenantId: "1234"
 policy:
   enabled: true
 portal: