Commit ea550dfd by Guangbo Chen Committed by Guangbo

Update existing volume claim of the wordpress

parent c8f87223
name: wordpress name: wordpress
version: 2.1.10 version: 2.1.11
appVersion: 4.9.8 appVersion: 4.9.8
description: Web publishing platform for building blogs and websites. description: Web publishing platform for building blogs and websites.
icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png
......
...@@ -3,3 +3,5 @@ ...@@ -3,3 +3,5 @@
[WordPress](https://wordpress.org/) is one of the most versatile open source content management systems on the market. A publishing platform for building blogs and websites. [WordPress](https://wordpress.org/) is one of the most versatile open source content management systems on the market. A publishing platform for building blogs and websites.
This chart bootstraps a [WordPress](https://github.com/bitnami/bitnami-docker-wordpress) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. The chart also packages the [Bitnami MariaDB chart](https://github.com/kubernetes/charts/tree/master/stable/mariadb) to provide the backend database for the WordPress application. This chart bootstraps a [WordPress](https://github.com/bitnami/bitnami-docker-wordpress) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. The chart also packages the [Bitnami MariaDB chart](https://github.com/kubernetes/charts/tree/master/stable/mariadb) to provide the backend database for the WordPress application.
Notes: MariaDB has been configured as a StatefulSet, and it will provision PersistentVolume dynamically using VolumeClaimTemplate. Users can use the existing Persistent Volume by creating PVC with name i.e. `data-wordpress-mariadb-0`
...@@ -69,11 +69,16 @@ questions: ...@@ -69,11 +69,16 @@ questions:
description: "Database user to create" description: "Database user to create"
type: string type: string
label: MariaDB User label: MariaDB User
- variable: mariadb.mariadbPassword - variable: mariadb.db.password
default: "" default: ""
description: "password will be auto-generated if not specified" description: "password will be auto-generated if not specified"
type: password type: password
label: MariaDB Password label: MariaDB Password
- variable: mariadb.rootUser.password
default: ""
description: "root user password, will be auto-generated if not specified"
type: password
label: MariaDB Root Password
- variable: externalDatabase.host - variable: externalDatabase.host
default: "" default: ""
description: "Host of the external database" description: "Host of the external database"
...@@ -129,11 +134,6 @@ questions: ...@@ -129,11 +134,6 @@ questions:
description: "If undefined or null, uses the default StorageClass. Default to null" description: "If undefined or null, uses the default StorageClass. Default to null"
type: storageclass type: storageclass
label: Default StorageClass for MariaDB label: Default StorageClass for MariaDB
- variable: mariadb.master.persistence.existingClaim
default: ""
description: "If not empty, uses the specified existing PVC instead of creating new one"
type: string
label: Existing Persistent Volume Claim for MariaDB
- variable: persistence.enabled - variable: persistence.enabled
default: false default: false
description: "Enable persistent volume for WordPress" description: "Enable persistent volume for WordPress"
...@@ -153,6 +153,11 @@ questions: ...@@ -153,6 +153,11 @@ questions:
description: "If undefined or null, uses the default StorageClass. Default to null" description: "If undefined or null, uses the default StorageClass. Default to null"
type: storageclass type: storageclass
label: Default StorageClass for WordPress label: Default StorageClass for WordPress
- variable: persistence.existingClaim
default: ""
description: "If not empty, uses the specified existing PVC instead of creating new one"
type: pvc
label: Existing Persistent Volume Claim for Wordpress
- variable: ingress.enabled - variable: ingress.enabled
default: true default: true
description: "Expose app using Layer 7 Load Balancer - ingress" description: "Expose app using Layer 7 Load Balancer - ingress"
......
dependencies:
- name: mariadb
repository: https://kubernetes-charts.storage.googleapis.com/
version: 4.4.0
digest: sha256:82a0e5374376169d2ecf7d452c18a2ed93507f5d17c3393a1457f9ffad7e9b26
generated: 2018-08-31T17:11:58.642318+08:00
...@@ -3,6 +3,8 @@ kind: PersistentVolumeClaim ...@@ -3,6 +3,8 @@ kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: {{ template "fullname" . }} name: {{ template "fullname" . }}
annotations:
"helm.sh/resource-policy": keep
labels: labels:
app: {{ template "fullname" . }} app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment