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