blob: 23968f9313f5e23d54017d53ecb9d85307a5b57a [file] [log] [blame]
Dusan Rozman7704d2a2017-09-26 16:04:12 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: aaf-cs
5 namespace: "{{ .Values.nsPrefix }}-aaf"
6spec:
7 replicas: 1
8 selector:
9 matchLabels:
10 app: aaf-cs
11 template:
12 metadata:
13 labels:
14 app: aaf-cs
15 name: aaf-cs
16 spec:
17 hostname: aaf-cs
18 containers:
19 - args:
20 image: {{ .Values.image.csImage }}:{{ .Values.image.csVersion }}
21 imagePullPolicy: {{ .Values.pullPolicy }}
22 name: "aaf-cs"
23 volumeMounts:
24 - mountPath: /data
Dusan Rozmane755f642017-10-02 09:55:04 -040025 name: aaf-cs-data
Dusan Rozman7704d2a2017-09-26 16:04:12 -040026 readinessProbe:
27 tcpSocket:
28 port: 7000
29 initialDelaySeconds: 5
30 periodSeconds: 10
31 volumes:
Dusan Rozmane755f642017-10-02 09:55:04 -040032 - name: aaf-cs-data
Dusan Rozman7704d2a2017-09-26 16:04:12 -040033 hostPath:
34 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data
35 imagePullSecrets:
36 - name: {{ .Values.nsPrefix }}-docker-registry-key