mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/nats] Fix chart not being upgradable (#7832)
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
fce283ced1
commit
62dd63d32b
@@ -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:
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -19,7 +19,6 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: "{{ template "nats.name" . }}"
|
||||
chart: "{{ template "nats.chart" . }}"
|
||||
release: {{ .Release.Name | quote }}
|
||||
template:
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user