yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableAafAafCs }} |
Dusan Rozman | 7704d2a | 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 | e755f64 | 2017-10-02 09:55:04 -0400 | [diff] [blame] | 26 | name: aaf-cs-data |
Dusan Rozman | 7704d2a | 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 | e755f64 | 2017-10-02 09:55:04 -0400 | [diff] [blame] | 33 | - name: aaf-cs-data |
vaibhav_16dec | adb27b4 | 2018-01-17 12:42:39 +0000 | [diff] [blame] | 34 | secret: |
| 35 | secretName: aaf-cs-data-secret |
Dusan Rozman | 7704d2a | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 36 | imagePullSecrets: |
| 37 | - name: {{ .Values.nsPrefix }}-docker-registry-key |
vaibhav_16dec | adb27b4 | 2018-01-17 12:42:39 +0000 | [diff] [blame] | 38 | #{{ end }} |