diff options
author | jmac <james.macnider@amdocs.com> | 2019-03-26 00:35:39 +0000 |
---|---|---|
committer | jmac <james.macnider@amdocs.com> | 2019-03-26 00:37:30 +0000 |
commit | 587ff479bc30f58ae00af64005f5e0260e99d1b7 (patch) | |
tree | d9c65cc42437a321dfced6b92476583feca37c3c /kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml | |
parent | 1748956d353d17c4864ae012fc9612cccbdd391e (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-x | kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml | 9 |
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" |