fix(mycloud-nextcloud): tune
This commit is contained in:
parent
51ea481f3e
commit
1b2d3aafc4
2 changed files with 21 additions and 3 deletions
|
@ -10,9 +10,6 @@ spec:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: "nextcloud"
|
name: "nextcloud"
|
||||||
chart: "nextcloud"
|
chart: "nextcloud"
|
||||||
# TODO delete later
|
|
||||||
# https://codeberg.org/wrenix/flux-charts/issues/6
|
|
||||||
reconcileStrategy: "Revision"
|
|
||||||
install:
|
install:
|
||||||
{{- toYaml .Values.commons.helm.release.install | nindent 4 }}
|
{{- toYaml .Values.commons.helm.release.install | nindent 4 }}
|
||||||
test:
|
test:
|
||||||
|
@ -66,6 +63,12 @@ spec:
|
||||||
'skeletondirectory' => '',
|
'skeletondirectory' => '',
|
||||||
'lost_password_link' => 'https://{{ .Values.commons.auth.host | default (printf "auth.%s" .Values.commons.ingress.domain) }}/if/flow/default-recovery-flow/',
|
'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
|
{{- if or
|
||||||
.Values.commons.persistence.hostPath.enabled
|
.Values.commons.persistence.hostPath.enabled
|
||||||
|
@ -90,6 +93,12 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ .Release.Name }}-auth-authentik-application
|
name: {{ .Release.Name }}-auth-authentik-application
|
||||||
key: clientSecret
|
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:
|
hooks:
|
||||||
# docu for theming: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/theming.html#configure-theming-through-cli
|
# docu for theming: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/theming.html#configure-theming-through-cli
|
||||||
|
|
|
@ -117,6 +117,15 @@ theme:
|
||||||
# -- set theme color in nextcloud
|
# -- set theme color in nextcloud
|
||||||
color:
|
color:
|
||||||
|
|
||||||
|
|
||||||
|
default:
|
||||||
|
language: "en"
|
||||||
|
phoneRegion: "GB"
|
||||||
|
|
||||||
|
limits:
|
||||||
|
memory: "512M"
|
||||||
|
upload: "2G"
|
||||||
|
|
||||||
# -- default quota for an user
|
# -- default quota for an user
|
||||||
quota:
|
quota:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue