blob: e275ff671ddb0c0706544820aa6a3b8d54eee809 [file] [log] [blame]
Mandeep Khindade8d47e2017-09-21 18:22:10 +00001apiVersion: v1
2kind: Pod
3metadata:
4 name: {{ .Chart.Name }}
5 namespace: "{{ .Values.nsPrefix }}-dcaegen2"
6spec:
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