From c491f42ead8b379249bc2eebe8a02534897b750a Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Fri, 11 May 2018 11:14:29 -0700 Subject: Remove hard-coding of nexus3 on sniroemulator Change-Id: Ia06b17702f5d3b722bb7baf68ee039a7131f89cb Issue-ID: INT-215 Signed-off-by: Gary Wu --- kubernetes/mock/templates/sniroemulator-deployment.yaml | 2 +- kubernetes/mock/values.yaml | 4 +--- 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 -- cgit 1.2.3-korg