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