diff options
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" |