Enable uwsgi logging again.
Updates the K8s config to enable extended uWSGI JSON logging again. This commit updates the name of the ConfigMap for the uWSGI config to avoid confusion.
This commit is contained in:
@@ -46,6 +46,8 @@ spec:
|
||||
- name: pgsslrootcert
|
||||
mountPath: "/opt/atat/atst/ssl/pgsslrootcert.crt"
|
||||
subPath: pgsslrootcert.crt
|
||||
- name: uwsgi-config
|
||||
mountPath: "/opt/atat/atst/"
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
@@ -124,6 +126,10 @@ spec:
|
||||
configMap:
|
||||
name: acme-challenges
|
||||
defaultMode: 0666
|
||||
- name: uwsgi-config
|
||||
configMap:
|
||||
name: uwsgi-config
|
||||
defaultMode: 0666
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
|
@@ -1,7 +1,7 @@
|
||||
namespace: atat
|
||||
resources:
|
||||
- azure.yml
|
||||
- atst-configmap.yml
|
||||
- uwsgi-config.yml
|
||||
- atst-envvars-configmap.yml
|
||||
- atst-nginx-configmap.yml
|
||||
- atst-worker-envvars-configmap.yml
|
||||
|
@@ -2,10 +2,10 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: atst-config
|
||||
name: uwsgi-config
|
||||
namespace: atat
|
||||
data:
|
||||
uwsgi-config: |-
|
||||
uwsgi.ini: |-
|
||||
[uwsgi]
|
||||
callable = app
|
||||
module = app
|
||||
@@ -14,6 +14,7 @@ data:
|
||||
plugin = logfile
|
||||
virtualenv = /opt/atat/atst/.venv
|
||||
chmod-socket = 666
|
||||
chown-socket = atst:atat
|
||||
|
||||
; logger config
|
||||
|
Reference in New Issue
Block a user