+#{{ if not .Values.disableMsbMsbConsul }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: msb-consul
+ namespace: "{{ .Values.nsPrefix }}"
spec:
replicas: 1
selector:
hostname: msb-consul
containers:
- args:
- image: consul
- name: "msb-consul"
+ image: {{ .Values.image.consul }}
+ name: msb-consul
ports:
- containerPort: {{ .Values.consulPort }}
name: msb-consul
port: {{ .Values.consulPort }}
initialDelaySeconds: 5
periodSeconds: 10
- imagePullPolicy: "{{ .Values.pullPolicy }}"
\ No newline at end of file
+ imagePullPolicy: {{ .Values.pullPolicy }}
+#{{ end }}
\ No newline at end of file