Skip to content

Commit

Permalink
Merge pull request #815 from bitnami/ZKFixChart
Browse files Browse the repository at this point in the history
[bitnami/zookeeper] Fix chart not being upgradable
  • Loading branch information
juan131 authored Sep 24, 2018
2 parents 3519c17 + b2d9a8a commit 80deee0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bitnami/zookeeper/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
11 changes: 11 additions & 0 deletions bitnami/zookeeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 0 additions & 2 deletions bitnami/zookeeper/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}"
Expand Down

0 comments on commit 80deee0

Please sign in to comment.