[stable/nats] Fix chart not being upgradable (#7832)

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
This commit is contained in:
Javier J. Salmerón-García
2018-09-20 10:12:23 -07:00
committed by k8s-ci-robot
parent fce283ced1
commit 62dd63d32b
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: nats
version: 0.1.1
version: 1.0.0
appVersion: 1.3.0
description: An open-source, cloud-native messaging system
keywords:
+11
View File
@@ -163,3 +163,14 @@ To horizontally scale this chart, run the following command to scale the number
```console
$ kubectl scale statefulset my-release-nats --replicas=3
```
## Upgrading
### To 1.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 1.0.0. The following example assumes that the release name is nats:
```console
$ kubectl delete statefulset nats-nats --cascade=false
```
-1
View File
@@ -19,7 +19,6 @@ spec:
selector:
matchLabels:
app: "{{ template "nats.name" . }}"
chart: "{{ template "nats.chart" . }}"
release: {{ .Release.Name | quote }}
template:
metadata: