Skip to content
Snippets Groups Projects
Unverified Commit f9d35341 authored by groundhog2k's avatar groundhog2k Committed by GitHub
Browse files

Added maximum file size upload setting (#53)

parent c94dbdbb
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ maintainers: ...@@ -8,7 +8,7 @@ maintainers:
- name: groundhog2k - name: groundhog2k
# This is the chart version. # This is the chart version.
version: 0.1.3 version: 0.1.4
# This is the version number of the application being deployed. # This is the version number of the application being deployed.
appVersion: "20.0.1-apache" appVersion: "20.0.1-apache"
......
...@@ -152,6 +152,7 @@ $ helm uninstall my-release ...@@ -152,6 +152,7 @@ $ helm uninstall my-release
| settings.admin.password | string | `nil` | Nextcloud admin user password | | settings.admin.password | string | `nil` | Nextcloud admin user password |
| settings.update | bool | `false` | Enable update (set `true` when upgrading nextcloud version with `helm upgrade`) | | settings.update | bool | `false` | Enable update (set `true` when upgrading nextcloud version with `helm upgrade`) |
| settings.databaseUpdateDelay | int | `30` | Delay for database update after nextcloud upgrade | | settings.databaseUpdateDelay | int | `30` | Delay for database update after nextcloud upgrade |
| settings.maxFileUploadSize | string | `64M` | Maximum file upload size |
| settings.disableRewriteIP | bool | `false` | Disable rewriting IP address | | settings.disableRewriteIP | bool | `false` | Disable rewriting IP address |
| settings.trustedDomains | string | `""` | List of trusted domains separated by blank space | | settings.trustedDomains | string | `""` | List of trusted domains separated by blank space |
| settings.trustedProxies | string | `"10.0.0.0/8"` | Trusted proxies | | settings.trustedProxies | string | `"10.0.0.0/8"` | Trusted proxies |
......
...@@ -44,4 +44,8 @@ data: ...@@ -44,4 +44,8 @@ data:
{{- end }} {{- end }}
{{- end }} {{- end }}
custom.ini: | custom.ini: |
{{- if .Values.customPhpConfig }}
{{ .Values.customPhpConfig | nindent 4 }} {{ .Values.customPhpConfig | nindent 4 }}
{{- else }}
upload_max_filesize = {{ .Values.settings.maxFileUploadSize }}
{{- end }}
...@@ -160,6 +160,8 @@ settings: ...@@ -160,6 +160,8 @@ settings:
update: false update: false
## Delay before database update steps are initiated (default: 30 seconds) ## Delay before database update steps are initiated (default: 30 seconds)
databaseUpdateDelay: 30 databaseUpdateDelay: 30
## Maximum file upload size (default: 64M)
maxFileUploadSize: 64M
## Nextcloud administrative user ## Nextcloud administrative user
admin: admin:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment