blob: 7d7586c5f6ff4bf3fe4083635bc82661b8f4681a [file] [log] [blame]
#{{ if not .Values.disableMsbMsbConsul }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: msb-consul
namespace: "{{ .Values.nsPrefix }}"
spec:
replicas: {{ .Values.msbConsulReplicas }}
selector:
matchLabels:
app: msb-consul
template:
metadata:
labels:
app: msb-consul
name: msb-consul
spec:
hostname: msb-consul
containers:
- args:
image: {{ .Values.image.consul }}
name: msb-consul
ports:
- containerPort: {{ .Values.consulPort }}
name: msb-consul
readinessProbe:
tcpSocket:
port: {{ .Values.consulPort }}
initialDelaySeconds: 5
periodSeconds: 10
imagePullPolicy: {{ .Values.pullPolicy }}
#{{ end }}