summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2019-03-26 00:35:39 +0000
committerjmac <james.macnider@amdocs.com>2019-03-26 00:37:30 +0000
commit587ff479bc30f58ae00af64005f5e0260e99d1b7 (patch)
treed9c65cc42437a321dfced6b92476583feca37c3c /kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
parent1748956d353d17c4864ae012fc9612cccbdd391e (diff)
prep
Change-Id: I93651f6074a2c31785a01b65669be88e76c07d2d Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-1359
Diffstat (limited to 'kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml')
-rwxr-xr-xkubernetes/so/charts/so-sdc-controller/templates/deployment.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml b/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
index ad3a19f37e..4583bfcd75 100755
--- a/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
+++ b/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
@@ -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"