Remove hard-coding of nexus3 on sniroemulator 45/47245/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 11 May 2018 18:14:29 +0000 (11:14 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 11 May 2018 18:14:29 +0000 (11:14 -0700)
Change-Id: Ia06b17702f5d3b722bb7baf68ee039a7131f89cb
Issue-ID: INT-215
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
kubernetes/mock/templates/sniroemulator-deployment.yaml
kubernetes/mock/values.yaml

index cd0da9f..475ba0c 100644 (file)
@@ -30,7 +30,7 @@ spec:
         name: sniro-emulator
     spec:
       containers:
-      - image: "{{ .Values.image.onapmock }}:{{ .Values.image.tag }}"
+      - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         imagePullPolicy: {{ .Values.pullPolicy }}
         name: sniro-emulator
         ports:
index 809ad90..879df34 100644 (file)
@@ -15,6 +15,4 @@
 nsPrefix: onap
 pullPolicy: Always
 nodePortPrefix: 302
-image:
-  onapmock: nexus3.onap.org:10001/onap/sniroemulator
-  tag: latest
+image: onap/sniroemulator:latest