From 97569985a865f8dbff166a70ed19326ae3da68cc Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Tue, 7 Aug 2018 16:01:59 -0400 Subject: [PATCH] Fix mount paths and typos --- deploy/kubernetes/atst.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/deploy/kubernetes/atst.yml b/deploy/kubernetes/atst.yml index abba5086..34d05fe2 100644 --- a/deploy/kubernetes/atst.yml +++ b/deploy/kubernetes/atst.yml @@ -29,8 +29,10 @@ spec: volumeMounts: - name: atst-config mountPath: "/opt/atat/atst/atst-overrides.ini" + subPath: atst-overrides.ini - name: uwsgi-config mountPath: "/opt/atat/atst/uwsgi-config.ini" + subPath: uwsgi-config.ini - name: uwsgi-socket-dir mountPath: "/var/run/uwsgi" - name: atst-nginx @@ -44,11 +46,14 @@ spec: - name: nginx-auth-tls mountPath: "/etc/ssl/private" - name: nginx-config - mountPath: "/etc/nginx/conf.d" + mountPath: "/etc/nginx/conf.d/atst.conf" + subPath: atst.conf - name: nginx-dhparam mountPath: "/etc/ssl" + subPath: dhparam.pem - name: nginx-htpasswd - mountPath: "/etc/nginx" + mountPath: "/etc/nginx/.htpasswd" + subPath: .htpasswd - name: uwsgi-socket-dir mountPath: "/var/run/uwsgi" imagePullSecrets: @@ -69,7 +74,7 @@ spec: path: auth.atat.crt mode: 0644 - key: tls.key - path: auth.atat.crt + path: auth.atat.key mode: 0640 - name: nginx-config configMap: