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

Added php memory limit configuration to wordpress chart (#67)

parent 194a2c5a
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ maintainers: ...@@ -8,7 +8,7 @@ maintainers:
type: application type: application
# This is the chart version. # This is the chart version.
version: 0.1.2 version: 0.1.3
# This is the version number of the application being deployed. # This is the version number of the application being deployed.
appVersion: "5.5.1-apache" appVersion: "5.5.1-apache"
......
# Wordpress # Wordpress
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.5.1-apache](https://img.shields.io/badge/AppVersion-5.5.1-informational?style=flat-square) ![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.5.1-apache](https://img.shields.io/badge/AppVersion-5.5.1-informational?style=flat-square)
A Helm chart for Wordpress on Kubernetes A Helm chart for Wordpress on Kubernetes
...@@ -117,6 +117,7 @@ $ helm uninstall my-release ...@@ -117,6 +117,7 @@ $ helm uninstall my-release
| customPhpConfig | string | `""` | Additional PHP custom.ini | | customPhpConfig | string | `""` | Additional PHP custom.ini |
| settings.tablePrefix | string | `nil` | Database table name prefix | | settings.tablePrefix | string | `nil` | Database table name prefix |
| settings.maxFileUploadSize | string | `64M` | Maximum file upload size | | settings.maxFileUploadSize | string | `64M` | Maximum file upload size |
| settings.memoryLimit | string | `128M` | PHP memory limit |
## Storage parameters ## Storage parameters
......
...@@ -28,4 +28,5 @@ data: ...@@ -28,4 +28,5 @@ data:
{{ .Values.customPhpConfig | nindent 4 }} {{ .Values.customPhpConfig | nindent 4 }}
{{- else }} {{- else }}
upload_max_filesize = {{ .Values.settings.maxFileUploadSize }} upload_max_filesize = {{ .Values.settings.maxFileUploadSize }}
memory_limit = {{ .Values.settings.memoryLimit }}
{{- end }} {{- end }}
...@@ -131,6 +131,8 @@ settings: ...@@ -131,6 +131,8 @@ settings:
tablePrefix: tablePrefix:
## Maximum file upload size (default: 64M) ## Maximum file upload size (default: 64M)
maxFileUploadSize: 64M maxFileUploadSize: 64M
## PHP memory limit (default: 128M)
memoryLimit: 128M
## Additional PHP custom.ini ## Additional PHP custom.ini
customPhpConfig: | customPhpConfig: |
......
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