fix(mycloud-nextcloud): tune

This commit is contained in:
WrenIX 2024-04-19 12:08:03 +02:00
parent 51ea481f3e
commit 1b2d3aafc4
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 21 additions and 3 deletions

View file

@ -10,9 +10,6 @@ spec:
kind: HelmRepository
name: "nextcloud"
chart: "nextcloud"
# TODO delete later
# https://codeberg.org/wrenix/flux-charts/issues/6
reconcileStrategy: "Revision"
install:
{{- toYaml .Values.commons.helm.release.install | nindent 4 }}
test:
@ -66,6 +63,12 @@ spec:
'skeletondirectory' => '',
'lost_password_link' => 'https://{{ .Values.commons.auth.host | default (printf "auth.%s" .Values.commons.ingress.domain) }}/if/flow/default-recovery-flow/',
);
custom.config.php: |-
<?php
$CONFIG = array(
'default_language' => {{ .Values.default.language | squote }},
'default_phone_region' => {{ .Values.default.phoneRegion | squote }},
);
{{- if or
.Values.commons.persistence.hostPath.enabled
@ -90,6 +93,12 @@ spec:
secretKeyRef:
name: {{ .Release.Name }}-auth-authentik-application
key: clientSecret
- name: "NEXTCLOUD_MEMORY_LIMIT"
value: "{{ .Values.limits.memory }}"
- name: "PHP_MEMORY_LIMIT"
value: "{{ .Values.limits.memory }}"
- name: "PHP_UPLOAD_LIMIT"
value: "{{ .Values.limits.upload }}"
hooks:
# docu for theming: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/theming.html#configure-theming-through-cli

View file

@ -117,6 +117,15 @@ theme:
# -- set theme color in nextcloud
color:
default:
language: "en"
phoneRegion: "GB"
limits:
memory: "512M"
upload: "2G"
# -- default quota for an user
quota: