blob: ffb3716ecfe87e43ae45aa5da2348e9b9e9f3f6d [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableDcaegen2 }}
Mandeep Khindade8d47e2017-09-21 18:22:10 +00002apiVersion: v1
3kind: Pod
4metadata:
5 name: {{ .Chart.Name }}
6 namespace: "{{ .Values.nsPrefix }}-dcaegen2"
7spec:
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"
yurynfcef9942017-10-26 17:10:50 +030029 restartPolicy: Never
30#{{ end }}