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-consul-deployment.yaml b/kubernetes/msb/templates/msb-consul-deployment.yaml
index 1dbbe8f..de33961 100644
--- a/kubernetes/msb/templates/msb-consul-deployment.yaml
+++ b/kubernetes/msb/templates/msb-consul-deployment.yaml
@@ -16,8 +16,8 @@
hostname: msb-consul
containers:
- args:
- image: consul
- name: "msb-consul"
+ image: {{ .Values.image.consul }}
+ name: msb-consul
ports:
- containerPort: {{ .Values.consulPort }}
name: msb-consul
@@ -26,4 +26,4 @@
port: {{ .Values.consulPort }}
initialDelaySeconds: 5
periodSeconds: 10
- imagePullPolicy: "{{ .Values.pullPolicy }}"
\ No newline at end of file
+ imagePullPolicy: {{ .Values.pullPolicy }}
\ No newline at end of file