blob: 850dd08439fc578fd752bdc80438fa007a28a91e [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMsbMsbConsul }}
HuabingZhaof2a9f562017-08-26 11:49:59 +08002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: msb-consul
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
HuabingZhaof2a9f562017-08-26 11:49:59 +08007spec:
8 replicas: 1
9 selector:
10 matchLabels:
11 app: msb-consul
12 template:
13 metadata:
14 labels:
15 app: msb-consul
16 name: msb-consul
17 spec:
18 hostname: msb-consul
19 containers:
20 - args:
HuabingZhao14391b42017-09-02 14:38:07 +080021 image: {{ .Values.image.consul }}
22 name: msb-consul
HuabingZhaof2a9f562017-08-26 11:49:59 +080023 ports:
HuabingZhao4ea06552017-08-29 15:30:10 +080024 - containerPort: {{ .Values.consulPort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080025 name: msb-consul
26 readinessProbe:
27 tcpSocket:
HuabingZhao4ea06552017-08-29 15:30:10 +080028 port: {{ .Values.consulPort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080029 initialDelaySeconds: 5
30 periodSeconds: 10
yurynfcef9942017-10-26 17:10:50 +030031 imagePullPolicy: {{ .Values.pullPolicy }}
32#{{ end }}