Merge pull request #1217 from dod-ccpo/uwsgi-config-fix
Fix ConfigMap to directory mapping.
This commit is contained in:
commit
e303ab6350
@ -47,7 +47,8 @@ spec:
|
|||||||
mountPath: "/opt/atat/atst/ssl/pgsslrootcert.crt"
|
mountPath: "/opt/atat/atst/ssl/pgsslrootcert.crt"
|
||||||
subPath: pgsslrootcert.crt
|
subPath: pgsslrootcert.crt
|
||||||
- name: uwsgi-config
|
- name: uwsgi-config
|
||||||
mountPath: "/opt/atat/atst/"
|
mountPath: "/opt/atat/atst/uwsgi.ini"
|
||||||
|
subPath: uwsgi.ini
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
@ -130,6 +131,10 @@ spec:
|
|||||||
configMap:
|
configMap:
|
||||||
name: uwsgi-config
|
name: uwsgi-config
|
||||||
defaultMode: 0666
|
defaultMode: 0666
|
||||||
|
items:
|
||||||
|
- key: uwsgi.ini
|
||||||
|
path: uwsgi.ini
|
||||||
|
mode: 0644
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user