21 lines
560 B
YAML
21 lines
560 B
YAML
|
|
# Patch: mount the nginx ConfigMap into drive-frontend to enable the media
|
||
|
|
# auth_request proxy (validates Drive session before serving S3 files).
|
||
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: drive-frontend
|
||
|
|
namespace: lasuite
|
||
|
|
spec:
|
||
|
|
template:
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: drive
|
||
|
|
volumeMounts:
|
||
|
|
- name: nginx-conf
|
||
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
||
|
|
subPath: default.conf
|
||
|
|
volumes:
|
||
|
|
- name: nginx-conf
|
||
|
|
configMap:
|
||
|
|
name: drive-frontend-nginx-conf
|