Add client ca bundle to nginx container

This commit is contained in:
Devon Mackay 2018-08-08 14:06:43 -04:00
parent bad0e1f098
commit 5bd39e1a15

View File

@ -47,6 +47,9 @@ spec:
volumeMounts:
- name: nginx-auth-tls
mountPath: "/etc/ssl/private"
- name: nginx-client-ca-bundle
mountPath: "/etc/ssl/client-ca-bundle.pem"
subPath: client-ca-bundle.pem
- name: nginx-config
mountPath: "/etc/nginx/conf.d/atst.conf"
subPath: atst.conf
@ -78,6 +81,13 @@ spec:
- key: tls.key
path: auth.atat.key
mode: 0640
- name: nginx-ca-bundle
secret:
secretName: nginx-client-ca-bundle
items:
- key: client-ca-bundle.pem
path: client-ca-bundle.pem
mode: 0666
- name: nginx-config
configMap:
name: atst-nginx