prep
[oom.git] / kubernetes / so / charts / so-sdc-controller / templates / deployment.yaml
index ad3a19f..4583bfc 100755 (executable)
@@ -95,6 +95,8 @@ spec:
         - name: config
           mountPath: /app/config
           readOnly: true
+        - name: asdc-data
+          mountPath: /app/ASDC
         livenessProbe:
           httpGet:
             path: {{- index .Values.livenessProbe.path|indent 2}}
@@ -115,5 +117,12 @@ spec:
       - name: config
         configMap:
             name: {{ include "common.fullname" . }}-app-configmap
+      - name: asdc-data
+      {{- if .Values.persistence.enabled }}
+        persistentVolumeClaim:
+          claimName: {{ include "common.fullname" . }}
+      {{- else }}
+        emptyDir: {}
+      {{- end }}
       imagePullSecrets:
         - name: "{{ include "common.namespace" . }}-docker-registry-key"