[stable/rabbitmq] Fix chart not being upgradable (#7848)

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
This commit is contained in:
Javier J. Salmerón-García
2018-09-20 04:12:19 -07:00
committed by k8s-ci-robot
parent 6b518cef45
commit 74181d74cd
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: rabbitmq
version: 2.2.0
version: 3.0.0
appVersion: 3.7.7
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
keywords:
+11
View File
@@ -130,3 +130,14 @@ The chart mounts a [Persistent Volume](http://kubernetes.io/docs/user-guide/pers
```bash
$ helm install --set persistence.existingClaim=PVC_NAME rabbitmq
```
## Upgrading
### To 3.0.0
Backwards compatibility is not guaranteed unless you modify the labels used on the chart's deployments.
Use the workaround below to upgrade from versions previous to 3.0.0. The following example assumes that the release name is opencart:
```console
$ kubectl delete statefulset rabbitmq --cascade=false
```
@@ -14,7 +14,6 @@ spec:
matchLabels:
app: {{ template "rabbitmq.name" . }}
release: "{{ .Release.Name }}"
chart: {{ template "rabbitmq.chart" . }}
template:
metadata:
labels: