fix(mycloud-nextcloud): add coloring support

This commit is contained in:
WrenIX 2024-02-02 11:05:27 +01:00
parent 9115d1312a
commit d1baf04a2b
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 10 additions and 3 deletions

View file

@ -128,6 +128,9 @@ spec:
echo "setup theming:"; echo "setup theming:";
/var/www/html/occ theming:config disable-user-theming yes; /var/www/html/occ theming:config disable-user-theming yes;
/var/www/html/occ theming:config name "{{ .Values.commons.theme.title }}"; /var/www/html/occ theming:config name "{{ .Values.commons.theme.title }}";
{{- with .Values.theme.color }}
/var/www/html/occ theming:config color {{ . | quote }};
{{- end }}
echo "setup oidc:"; echo "setup oidc:";
/var/www/html/occ user_oidc:provider mycloud \ /var/www/html/occ user_oidc:provider mycloud \

View file

@ -68,6 +68,13 @@ auth:
# https://goauthentik.io/integrations/services/nextcloud/#provider-and-application # https://goauthentik.io/integrations/services/nextcloud/#provider-and-application
idMapping: sub idMapping: sub
theme:
# -- set theme color in nextcloud
color:
# -- default quota for an user
quota:
apps: apps:
checksum: checksum:
enabled: true enabled: true
@ -91,9 +98,6 @@ apps:
memories: memories:
enabled: false enabled: false
# -- default quota for an user
quota:
ingress: ingress:
# -- default: fs.(Values.commons.ingress.domain) # -- default: fs.(Values.commons.ingress.domain)