aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/dcaegen2/templates')
-rw-r--r--kubernetes/dcaegen2/templates/pod.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/dcaegen2/templates/pod.yaml b/kubernetes/dcaegen2/templates/pod.yaml
new file mode 100644
index 0000000000..e275ff671d
--- /dev/null
+++ b/kubernetes/dcaegen2/templates/pod.yaml
@@ -0,0 +1,28 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: {{ .Chart.Name }}
+ namespace: "{{ .Values.nsPrefix }}-dcaegen2"
+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 \ No newline at end of file