Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix api.rst missing; Update the API name in the swagger; Update user
[pti/o2.git]
/
charts
/
templates
/
deployment.yaml
diff --git
a/charts/templates/deployment.yaml
b/charts/templates/deployment.yaml
index
7d110cb
..
a5deaf6
100644
(file)
--- a/
charts/templates/deployment.yaml
+++ b/
charts/templates/deployment.yaml
@@
-135,10
+135,10
@@
spec:
value: localhost
- name: DB_PASSWORD
value: o2ims123
value: localhost
- name: DB_PASSWORD
value: o2ims123
- - name: FLASK_APP
- value: /src/o2app/entrypoints/flask_application.py
- - name: FLASK_DEBUG
- value: {{ .Values.o2ims.logginglevel }}
+
#
- name: FLASK_APP
+
#
value: /src/o2app/entrypoints/flask_application.py
+
#
- name: FLASK_DEBUG
+
#
value: {{ .Values.o2ims.logginglevel }}
- name: LOGGING_CONFIG_LEVEL
value: {{ .Values.o2ims.logginglevel }}
- name: OS_AUTH_URL
- name: LOGGING_CONFIG_LEVEL
value: {{ .Values.o2ims.logginglevel }}
- name: OS_AUTH_URL
@@
-156,8
+156,10
@@
spec:
volumeMounts:
- name: scripts
mountPath: /opt
volumeMounts:
- name: scripts
mountPath: /opt
- # - name: configs
- # mountPath: /configs
+ {{- if .Values.o2dms.helm_cli_enable }}
+ - name: share
+ mountPath: /share
+ {{- end }}
- name: applicationconfig
mountPath: /configs/o2app.conf
subPath: config.json
- name: applicationconfig
mountPath: /configs/o2app.conf
subPath: config.json
@@
-184,13
+186,17
@@
spec:
volumeMounts:
- name: scripts
mountPath: /opt
volumeMounts:
- name: scripts
mountPath: /opt
+ - name: share
+ mountPath: /share
{{- end }}
volumes:
- name: scripts
configMap:
name: {{ .Chart.Name }}-scripts-configmap
{{- end }}
volumes:
- name: scripts
configMap:
name: {{ .Chart.Name }}-scripts-configmap
- # - name: configs
- # emptyDir: {}
+ {{- if .Values.o2dms.helm_cli_enable }}
+ - name: share
+ emptyDir: {}
+ {{- end }}
- configMap:
name: {{ .Chart.Name }}-application-config
name: applicationconfig
- configMap:
name: {{ .Chart.Name }}-application-config
name: applicationconfig