yuryn | 9f27c6a | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 1 | #{{ if not .Values.disableAafAafCs }} |
Dusan Rozman | 906b670 | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 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 |
Dusan Rozman | d291561 | 2017-10-02 09:55:04 -0400 | [diff] [blame] | 26 | name: aaf-cs-data |
Dusan Rozman | 906b670 | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 27 | readinessProbe: |
| 28 | tcpSocket: |
| 29 | port: 7000 |
| 30 | initialDelaySeconds: 5 |
| 31 | periodSeconds: 10 |
| 32 | volumes: |
Dusan Rozman | d291561 | 2017-10-02 09:55:04 -0400 | [diff] [blame] | 33 | - name: aaf-cs-data |
Dusan Rozman | 906b670 | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 34 | hostPath: |
| 35 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data |
| 36 | imagePullSecrets: |
| 37 | - name: {{ .Values.nsPrefix }}-docker-registry-key |
yuryn | 9f27c6a | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 38 | #{{ end }} |