This repository was archived by the owner on Feb 22, 2022. It is now read-only.
File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : wordpress
2
- version : 2.1.10
2
+ version : 3.0.0
3
3
appVersion : 4.9.8
4
4
description : Web publishing platform for building blogs and websites.
5
5
icon : https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png
Original file line number Diff line number Diff line change @@ -230,3 +230,15 @@ kubectl create secret tls wordpress.local-tls --key /path/to/key.key --cert /pat
230
230
231
231
Please see [this example](https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/tls)
232
232
for more information.
233
+
234
+ ## Upgrading
235
+
236
+ ### To 3.0.0
237
+
238
+ Backwards compatibility is not guaranteed unless you modify the labels used on the chart's deployments.
239
+ Use the workaround below to upgrade from versions previous to `3.0.0`. The following example assumes that the release name is `wordpress`:
240
+
241
+ ```console
242
+ $ kubectl patch deployment wordpress-wordpress --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]'
243
+ $ kubectl delete statefulset wordpress-mariadb --cascade=false
244
+ ```
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ metadata:
8
8
release : " {{ .Release.Name }}"
9
9
heritage : " {{ .Release.Service }}"
10
10
spec :
11
+ selector :
12
+ matchLabels :
13
+ app : {{ template "fullname" . }}
14
+ release : " {{ .Release.Name }}"
11
15
replicas : {{ .Values.replicaCount }}
12
16
template :
13
17
metadata :
You can’t perform that action at this time.
0 commit comments