blob: acd6a7aeb6a15d3d485b2c16ff3df8616cba3e88 [file] [log] [blame]
yuryn9f27c6a2017-10-26 17:10:50 +03001#{{ if not .Values.disableAafAafCs }}
Dusan Rozman906b6702017-09-26 16:04:12 -04002apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: aaf-cs
6 namespace: "{{ .Values.nsPrefix }}-aaf"
7spec:
8 replicas: 1
9 selector:
10 matchLabels:
11 app: aaf-cs
12 template:
13 metadata:
14 labels:
15 app: aaf-cs
16 name: aaf-cs
17 spec:
18 hostname: aaf-cs
19 containers:
20 - args:
21 image: {{ .Values.image.csImage }}:{{ .Values.image.csVersion }}
22 imagePullPolicy: {{ .Values.pullPolicy }}
23 name: "aaf-cs"
24 volumeMounts:
25 - mountPath: /data
Dusan Rozmand2915612017-10-02 09:55:04 -040026 name: aaf-cs-data
Dusan Rozman906b6702017-09-26 16:04:12 -040027 readinessProbe:
28 tcpSocket:
29 port: 7000
30 initialDelaySeconds: 5
31 periodSeconds: 10
32 volumes:
Dusan Rozmand2915612017-10-02 09:55:04 -040033 - name: aaf-cs-data
Dusan Rozman906b6702017-09-26 16:04:12 -040034 hostPath:
35 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data
36 imagePullSecrets:
37 - name: {{ .Values.nsPrefix }}-docker-registry-key
yuryn9f27c6a2017-10-26 17:10:50 +030038#{{ end }}