fix(mycloud-nextcloud): make imaginary optional
This commit is contained in:
parent
ab747f302d
commit
1fefa2bb82
2 changed files with 13 additions and 1 deletions
|
@ -50,8 +50,10 @@ spec:
|
|||
name: {{ .Values.commons.mail.username | quote }}
|
||||
password: {{ .Values.commons.mail.password | quote }}
|
||||
|
||||
{{- if .Values.imaginary.enabled }}
|
||||
defaultConfigs:
|
||||
imaginary.config.php: true
|
||||
{{- end }}
|
||||
configs:
|
||||
proxy.config.php: |-
|
||||
<?php
|
||||
|
@ -76,6 +78,7 @@ spec:
|
|||
'default_language' => {{ .Values.default.language | squote }},
|
||||
'default_phone_region' => {{ .Values.default.phoneRegion | squote }},
|
||||
);
|
||||
{{- if .Values.imaginary.enabled }}
|
||||
reviews.config.php: |-
|
||||
<?php
|
||||
$CONFIG = array(
|
||||
|
@ -86,6 +89,10 @@ spec:
|
|||
'OC\Preview\OpenDocument',
|
||||
),
|
||||
);
|
||||
{{- end }}
|
||||
{{- with .Values.config }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
{{- if or
|
||||
.Values.commons.persistence.hostPath.enabled
|
||||
|
|
|
@ -136,6 +136,11 @@ limits:
|
|||
# -- default quota for an user
|
||||
quota:
|
||||
|
||||
imaginary:
|
||||
enabled: true
|
||||
|
||||
config: {}
|
||||
|
||||
apps:
|
||||
checksum:
|
||||
enabled: true
|
||||
|
|
Loading…
Add table
Reference in a new issue