fix(mycloud-collabora): set remote-font-url

This commit is contained in:
WrenIX 2024-12-04 00:38:24 +01:00
parent 0a923ac69b
commit 40b8afb2a2
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
4 changed files with 32 additions and 3 deletions

View file

@ -6,4 +6,4 @@ maintainers:
- name: WrenIX
url: https://wrenix.eu
version: 0.1.0
version: 0.1.1

View file

@ -7,7 +7,7 @@ description: "myCloud component to setup collabora"
# mycloud-collabora
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
myCloud component to setup collabora
@ -52,6 +52,13 @@ myCloud component to setup collabora
|-----|------|---------|-------------|
| commons.masterPassword | string | `"CHANGEME"` | masterPassword to generate secrets |
### Remote font
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| remoteFont.enabled | bool | `true` | remote font setup |
| remoteFont.url | string | `nil` | url to remote font default (set to nextcloud) |
### Other Values
| Key | Type | Default | Description |

View file

@ -30,7 +30,20 @@ spec:
collabora:
username: collabora-admin
password: {{ .Values.adminPassword | default (derivePassword 1 "long" .Values.commons.masterPassword "nextcloud" "admin_password") | quote }}
extra_params: --o:user_interface.mode=tabbed --o:ssl.termination=true --o:ssl.enable=false
extra_params: >
--o:user_interface.mode=tabbed
--o:ssl.enable=false
--o:ssl.termination=true
--o:fetch_update_check=0
{{- if .Values.remoteFont.enabled }}
{{- with .Values.remoteFont.url }}
--o:remote_font_config.url={{ . }}
{{- else }}
--o:remote_font_config.url=https://fs.{{ .Values.commons.ingress.domain }}/apps/richdocuments/settings/fonts.json
{{- end }}
{{- end }}
--o:net.proto=all
server_name: {{ $host | quote }}
aliasgroups:
{{- range $host, $aliases := .Values.allowedHosts }}

View file

@ -84,6 +84,15 @@ ingress:
# -- adminPassword to access collabora admin platform
adminPassword:
remoteFont:
# -- remote font setup
# @section -- Remote font
enabled: true
# -- url to remote font
# default (set to nextcloud)
# @section -- Remote font
url:
# -- allowed host to use this collabora instance
# if not set we allow defaults (like nextcloud)
# example: