mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-24 04:26:40 +10:00
Merge pull request #815 from bitnami/ZKFixChart
[bitnami/zookeeper] Fix chart not being upgradable
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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" . }}"
|
||||
|
||||
Reference in New Issue
Block a user