Commit 2ce9acc2 by Guangbo Chen Committed by Alena Prokharchyk

Bump wp to 2.1.12 to fix deployment upgrade issue

parent 949a95ca
name: wordpress name: wordpress
version: 2.1.11 version: 2.1.12
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
......
...@@ -4,4 +4,7 @@ ...@@ -4,4 +4,7 @@
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` ## 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`
Upgrade from template version 2.1.10 or 2.1.11 to the current version 2.1.12 requires a user to select `Delete and recreate resources if needed during the upgrade` option.
apiVersion: apps/v1beta1 apiVersion: apps/v1beta2
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ template "fullname" . }} name: {{ template "fullname" . }}
...@@ -9,11 +9,14 @@ metadata: ...@@ -9,11 +9,14 @@ metadata:
heritage: "{{ .Release.Service }}" heritage: "{{ .Release.Service }}"
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "fullname" . }}
release: "{{ .Release.Name }}"
template: template:
metadata: metadata:
labels: labels:
app: {{ template "fullname" . }} app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}" release: "{{ .Release.Name }}"
spec: spec:
{{- if .Values.image.pullSecrets }} {{- if .Values.image.pullSecrets }}
......
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