Merge pull request #815 from bitnami/ZKFixChart

[bitnami/zookeeper] Fix chart not being upgradable
This commit is contained in:
Juan Ariza Toledano
2018-09-24 09:57:58 +02:00
committed by GitHub
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: zookeeper
version: 0.0.7
version: 1.0.0
appVersion: 3.4.12
description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications.
keywords:
+11
View File
@@ -121,3 +121,14 @@ The [Bitnami Zookeeper](https://github.com/bitnami/bitnami-docker-zookeeper) ima
Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube.
See the [Configuration](#configuration) section to configure the PVC or to disable persistence.
## 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 zookeeper:
```console
$ kubectl delete statefulset zookeeper --cascade=false
```
@@ -20,9 +20,7 @@ spec:
selector:
matchLabels:
app: {{ template "zookeeper.name" . }}
chart: {{ template "zookeeper.chart" . }}
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Service | quote }}
template:
metadata:
name: "{{ template "zookeeper.fullname" . }}"