comms: mount host-specific Element config file

This commit is contained in:
Brad Stein 2026-01-17 18:22:36 -03:00
parent be10e01c2f
commit ebb300b939

View File

@ -382,14 +382,18 @@ spec:
url: https://call.live.bstein.dev
participant_limit: 16
brand: Othrys Call
nginxConfig: |-
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Content-Security-Policy "frame-ancestors 'self'";
location = /config.live.bstein.dev.json {
try_files /config.json =404;
}
extraVolumes:
- name: element-config-host
configMap:
name: othrys-element-element-web
items:
- key: config.json
path: config.live.bstein.dev.json
extraVolumeMounts:
- name: element-config-host
mountPath: /tmp/element-web-config/config.live.bstein.dev.json
subPath: config.live.bstein.dev.json
readOnly: true
ingress:
enabled: true