blob: 29aafd67f5e2e929498f83dcc13bc35aa2db87d5 [file] [log] [blame]
maopengzhang799cc592017-09-01 09:37:48 +08001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: vfc-ztevmanagerdriver
5 namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
6spec:
7 replicas: {{ .Values.ztevmanagerdriver.replicas }}
8 selector:
9 matchLabels:
10 app: vfc-ztevmanagerdriver
11 template:
12 metadata:
13 labels:
14 app: vfc-ztevmanagerdriver
15 name: vfc-ztevmanagerdriver
16 spec:
17 hostname: vfc-ztevmanagerdriver
18 containers:
19 - args:
20 image: {{.Values.ztevmanagerdriver.image}}
21 name: "vfc-ztevmanagerdriver"
22 env:
23 - name: MSB_ADDR
24 value: {{ .Values.msbaddr }}
25 ports:
26 - containerPort: {{ .Values.ztevmanagerdriver.port }}
27 readinessProbe:
28 tcpSocket:
29 port: {{ .Values.ztevmanagerdriver.port }}
30 initialDelaySeconds: 5
31 periodSeconds: 10
32 imagePullPolicy: "{{ .Values.pullPolicy }}"
33 imagePullSecrets:
34 - name: "{{ .Values.nsPrefix }}-docker-registry-key"