blob: 3a702b90160a61728434f88db810a67b920ae565 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableCliCli }}
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +05302apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 labels:
6 app: cli
7 name: cli
8 namespace: "{{ .Values.nsPrefix }}-cli"
9spec:
10 selector:
11 matchLabels:
12 app: cli
13 template:
14 metadata:
15 labels:
16 app: cli
17 name: cli
18 spec:
19 containers:
20 - image: {{ .Values.image.cliImage}}
21 imagePullPolicy: {{ .Values.pullPolicy }}
22 name: "cli"
23 env:
24 - name: CLI_MODE
25 value: daemon
26 ports:
27 - containerPort: 80
28 name: cli
29 readinessProbe:
30 tcpSocket:
31 port: 80
32 initialDelaySeconds: 5
33 periodSeconds: 10
34 imagePullSecrets:
35 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
yurynfcef9942017-10-26 17:10:50 +030036#{{ end }}