Merge "[AAF] Uses new tpls for repos / images"
[oom.git] / kubernetes / aaf / components / aaf-cass / templates / deployment.yaml
index 461553c..4dc508f 100644 (file)
@@ -81,6 +81,10 @@ spec:
         - mountPath: /etc/localtime
           name: localtime
           readOnly: true
+        - mountPath: /opt/app/aaf/cass_init/data
+          name: config-cass-init-data
+        - mountPath: /opt/app/aaf/cass_init/dats
+          name: config-cass-init-dats
         {{- if eq .Values.liveness.enabled true }}
         livenessProbe:
           tcpSocket:
@@ -111,5 +115,11 @@ spec:
       {{- else }}
         emptyDir: {}
       {{- end }}
+      - name: config-cass-init-dats
+        configMap:
+          name: {{ include "common.fullname" . }}-cass-init-dats
+      - name: config-cass-init-data
+        configMap:
+          name: {{ include "common.fullname" . }}-cass-init-data
       imagePullSecrets:
       - name: "{{ include "common.namespace" . }}-docker-registry-key"