Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
prep
[oom.git]
/
kubernetes
/
so
/
charts
/
so-sdc-controller
/
templates
/
deployment.yaml
diff --git
a/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
b/kubernetes/so/charts/so-sdc-controller/templates/deployment.yaml
index
ad3a19f
..
4583bfc
100755
(executable)
--- 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: config
mountPath: /app/config
readOnly: true
+ - name: asdc-data
+ mountPath: /app/ASDC
livenessProbe:
httpGet:
path: {{- index .Values.livenessProbe.path|indent 2}}
livenessProbe:
httpGet:
path: {{- index .Values.livenessProbe.path|indent 2}}
@@
-115,5
+117,12
@@
spec:
- name: config
configMap:
name: {{ include "common.fullname" . }}-app-configmap
- 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"
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"