blob: 55619b3280b2b7de5cc5f1e1a2b20a98cfbe2f45 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableAafAafCs }}
Dusan Rozman7704d2a2017-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 Rozmane755f642017-10-02 09:55:04 -040026 name: aaf-cs-data
Dusan Rozman7704d2a2017-09-26 16:04:12 -040027 readinessProbe:
28 tcpSocket:
29 port: 7000
30 initialDelaySeconds: 5
31 periodSeconds: 10
32 volumes:
Dusan Rozmane755f642017-10-02 09:55:04 -040033 - name: aaf-cs-data
vaibhav_16decadb27b42018-01-17 12:42:39 +000034 secret:
35 secretName: aaf-cs-data-secret
Dusan Rozman7704d2a2017-09-26 16:04:12 -040036 imagePullSecrets:
37 - name: {{ .Values.nsPrefix }}-docker-registry-key
vaibhav_16decadb27b42018-01-17 12:42:39 +000038#{{ end }}