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 }}
|
name: {{ .Values.commons.mail.username | quote }}
|
||||||
password: {{ .Values.commons.mail.password | quote }}
|
password: {{ .Values.commons.mail.password | quote }}
|
||||||
|
|
||||||
|
{{- if .Values.imaginary.enabled }}
|
||||||
defaultConfigs:
|
defaultConfigs:
|
||||||
imaginary.config.php: true
|
imaginary.config.php: true
|
||||||
|
{{- end }}
|
||||||
configs:
|
configs:
|
||||||
proxy.config.php: |-
|
proxy.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
|
@ -76,6 +78,7 @@ spec:
|
||||||
'default_language' => {{ .Values.default.language | squote }},
|
'default_language' => {{ .Values.default.language | squote }},
|
||||||
'default_phone_region' => {{ .Values.default.phoneRegion | squote }},
|
'default_phone_region' => {{ .Values.default.phoneRegion | squote }},
|
||||||
);
|
);
|
||||||
|
{{- if .Values.imaginary.enabled }}
|
||||||
reviews.config.php: |-
|
reviews.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array(
|
$CONFIG = array(
|
||||||
|
@ -86,6 +89,10 @@ spec:
|
||||||
'OC\Preview\OpenDocument',
|
'OC\Preview\OpenDocument',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.config }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- if or
|
{{- if or
|
||||||
.Values.commons.persistence.hostPath.enabled
|
.Values.commons.persistence.hostPath.enabled
|
||||||
|
|
|
@ -136,6 +136,11 @@ limits:
|
||||||
# -- default quota for an user
|
# -- default quota for an user
|
||||||
quota:
|
quota:
|
||||||
|
|
||||||
|
imaginary:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
config: {}
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
checksum:
|
checksum:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue