X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fso%2Fcharts%2Fso-sdc-controller%2Ftemplates%2Fdeployment.yaml;fp=kubernetes%2Fso%2Fcharts%2Fso-sdc-controller%2Ftemplates%2Fdeployment.yaml;h=4583bfcd752463e357cde0899348585b5b8bce88;hb=587ff479bc30f58ae00af64005f5e0260e99d1b7;hp=ad3a19f37e25e284ea7dce5afef3c7817e9e4aa1;hpb=1748956d353d17c4864ae012fc9612cccbdd391e;p=oom.git 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"