summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-05-11 11:14:29 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-05-11 11:14:29 -0700
commitc491f42ead8b379249bc2eebe8a02534897b750a (patch)
tree8e44c115af3fe4f2c76f0615c5cf2bc20cf0789a /kubernetes
parent87b247f52fcd121e69bddfa68ddda60e39eb18c8 (diff)
Remove hard-coding of nexus3 on sniroemulator
Change-Id: Ia06b17702f5d3b722bb7baf68ee039a7131f89cb Issue-ID: INT-215 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/mock/templates/sniroemulator-deployment.yaml2
-rw-r--r--kubernetes/mock/values.yaml4
2 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/mock/templates/sniroemulator-deployment.yaml b/kubernetes/mock/templates/sniroemulator-deployment.yaml
index cd0da9fd78..475ba0c112 100644
--- a/kubernetes/mock/templates/sniroemulator-deployment.yaml
+++ b/kubernetes/mock/templates/sniroemulator-deployment.yaml
@@ -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:
diff --git a/kubernetes/mock/values.yaml b/kubernetes/mock/values.yaml
index 809ad90d3b..879df34f49 100644
--- a/kubernetes/mock/values.yaml
+++ b/kubernetes/mock/values.yaml
@@ -15,6 +15,4 @@
nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
-image:
- onapmock: nexus3.onap.org:10001/onap/sniroemulator
- tag: latest
+image: onap/sniroemulator:latest