feat: separate nginx deployment to serve Element Desktop setup scripts

This commit is contained in:
Scrublord MacBad
2026-04-23 18:36:13 +02:00
parent cf8bc00613
commit 80fa13b63f
3 changed files with 109 additions and 31 deletions
-31
View File
@@ -61,37 +61,6 @@ spec:
enabled: true
ingress:
host: axion1337.chat
podAnnotations:
# Force pod restart bei ConfigMap Änderungen
checksum/config: "element-web-docs"
additional:
initContainers:
- name: copy-docs
image: busybox:1.36
command:
- sh
- -c
- |
mkdir -p /html/docs/setup
cp /config/README-Element-Setup.md /html/docs/setup/
cp /config/element-setup-windows.cmd /html/docs/setup/
cp /config/element-setup-macos.command /html/docs/setup/
cp /config/element-setup-linux.sh /html/docs/setup/
chmod 644 /html/docs/setup/*
volumeMounts:
- name: element-web-docs
mountPath: /config
- name: html-docs
mountPath: /html
volumes:
- name: element-web-docs
configMap:
name: ess-element-web-docs
- name: html-docs
emptyDir: {}
volumeMounts:
- name: html-docs
mountPath: /usr/share/nginx/html/docs
# Element Admin
elementAdmin: