parameterize docker image
Issue-Id: OOM-113
Change-Id: I36641bbb2c973f3df9a9d1a24e7197c21552e61b
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
diff --git a/kubernetes/msb/templates/msb-discovery-deployment.yaml b/kubernetes/msb/templates/msb-discovery-deployment.yaml
index 0fcd2f9..b54f3d1 100644
--- a/kubernetes/msb/templates/msb-discovery-deployment.yaml
+++ b/kubernetes/msb/templates/msb-discovery-deployment.yaml
@@ -16,7 +16,7 @@
hostname: msb-discovery
containers:
- args:
- image: nexus3.onap.org:10001/onap/msb/msb_discovery
+ image: {{ .Values.image.discovery }}
name: "msb-discovery"
env:
- name: CONSUL_IP
@@ -29,6 +29,6 @@
port: {{ .Values.discoveryPort }}
initialDelaySeconds: 5
periodSeconds: 10
- imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullPolicy: {{ .Values.pullPolicy }}