55619b3280b2b7de5cc5f1e1a2b20a98cfbe2f45
[oom.git] / kubernetes / aaf / templates / aaf-cs-deployment.yaml
1 #{{ if not .Values.disableAafAafCs }}
2 apiVersion: extensions/v1beta1
3 kind: Deployment
4 metadata:
5   name: aaf-cs
6   namespace: "{{ .Values.nsPrefix }}-aaf"
7 spec:
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
26           name: aaf-cs-data
27         readinessProbe:
28           tcpSocket:
29             port: 7000
30           initialDelaySeconds: 5
31           periodSeconds: 10
32       volumes:
33         - name: aaf-cs-data
34           secret:
35             secretName: aaf-cs-data-secret
36       imagePullSecrets:
37       - name: {{ .Values.nsPrefix }}-docker-registry-key
38 #{{ end }}