blob: 1cf5d9b08d62ad43033b330be248810c12ca0f92 [file] [log] [blame]
#{{ if not .Values.disableDcaegen2 }}
apiVersion: v1
kind: Pod
metadata:
name: {{ .Chart.Name }}
namespace: "{{ .Values.nsPrefix }}"
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- name: installer-config-mount
mountPath: /opt/app/installer/config
readOnly: true
env:
- name: LOCATION
value: "{{ .Values.location }}"
volumes:
- name: installer-config-mount
projected:
sources:
- secret:
name: "{{ .Chart.Name }}-openstack-ssh-private-key"
- configMap:
name: "{{ .Chart.Name }}-config-inputs"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
restartPolicy: Never
#{{ end }}