yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableDcaegen2 }} |
Mandeep Khinda | de8d47e | 2017-09-21 18:22:10 +0000 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Pod |
| 4 | metadata: |
| 5 | name: {{ .Chart.Name }} |
| 6 | namespace: "{{ .Values.nsPrefix }}-dcaegen2" |
| 7 | spec: |
| 8 | containers: |
| 9 | - name: {{ .Chart.Name }} |
| 10 | image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" |
| 11 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
| 12 | volumeMounts: |
| 13 | - name: installer-config-mount |
| 14 | mountPath: /opt/app/installer/config |
| 15 | readOnly: true |
| 16 | env: |
| 17 | - name: LOCATION |
| 18 | value: "{{ .Values.location }}" |
| 19 | volumes: |
| 20 | - name: installer-config-mount |
| 21 | projected: |
| 22 | sources: |
| 23 | - secret: |
| 24 | name: "{{ .Chart.Name }}-openstack-ssh-private-key" |
| 25 | - configMap: |
| 26 | name: "{{ .Chart.Name }}-config-inputs" |
| 27 | imagePullSecrets: |
| 28 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 29 | restartPolicy: Never |
| 30 | #{{ end }} |