mirror of
https://github.com/bitnami/charts.git
synced 2026-02-13 06:27:12 +08:00
[bitnami/wordpress] support custom datasource for PVC (#4879)
* Add dataSource customization * Bump version * Fix typo * Update bitnami/wordpress/README.md Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com> Co-authored-by: chris13524 <chris@smith.xyz> Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>
This commit is contained in:
@@ -31,4 +31,4 @@ name: wordpress
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-wordpress
|
||||
- http://www.wordpress.com/
|
||||
version: 10.2.1
|
||||
version: 10.3.0
|
||||
|
||||
@@ -180,6 +180,7 @@ The following table lists the configurable parameters of the WordPress chart and
|
||||
| `persistence.storageClass` | PVC Storage Class | `nil` (uses alpha storage class annotation) |
|
||||
| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` |
|
||||
| `persistence.size` | PVC Storage Request | `10Gi` |
|
||||
| `persistence.dataSource` | PVC data source | `{}` |
|
||||
|
||||
### Database parameters
|
||||
|
||||
|
||||
@@ -17,4 +17,7 @@ spec:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.size | quote }}
|
||||
{{- include "wordpress.storageClass" . | nindent 2 }}
|
||||
{{- if .Values.persistence.dataSource }}
|
||||
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.dataSource "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -519,6 +519,8 @@ persistence:
|
||||
# existingClaim: your-claim
|
||||
accessMode: ReadWriteMany
|
||||
size: 10Gi
|
||||
## Custom dataSource
|
||||
dataSource: {}
|
||||
|
||||
## Wordpress Pod Disruption Budget configuration
|
||||
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
||||
|
||||
@@ -519,6 +519,8 @@ persistence:
|
||||
# existingClaim: your-claim
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
## Custom dataSource
|
||||
dataSource: {}
|
||||
|
||||
## Wordpress Pod Disruption Budget configuration
|
||||
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
||||
|
||||
Reference in New Issue
Block a user