mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/cassandra] Fix chart not being upgradable by removing mutable label from volumeClaimTemplate (#12402)
* [incubator/cassandra] rename backup.image.repository, update default value, add support for google credentials as a secret Signed-off-by: Simon Hardy <sha@taktik.com> * [incubator/cassandra] cleanup Signed-off-by: Simon Hardy <sha@taktik.com> * [incubator/cassandra] comment Signed-off-by: Simon Hardy <sha@taktik.com> * [incubator/cassandra] Fix chart not being upgradable by removing mutable label from VolumeClaimTemplate Signed-off-by: Simon Hardy <sha@taktik.com> * [incubator/cassandra] Update readme regarding chart not being upgradable Signed-off-by: Simon Hardy <sha@taktik.com> * [incubator/cassandra] readme small update Signed-off-by: Simon Hardy <sha@taktik.com> * [incubator/cassandra] remove heritage from volumeClaimTemplates labels Signed-off-by: Simon Hardy <sha@taktik.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
a317efa8cd
commit
ab30648934
@@ -1,5 +1,5 @@
|
||||
name: cassandra
|
||||
version: 0.11.1
|
||||
version: 0.12.0
|
||||
appVersion: 3.11.3
|
||||
description: Apache Cassandra is a free and open-source distributed database management
|
||||
system designed to handle large amounts of data across many commodity servers, providing
|
||||
|
||||
@@ -19,6 +19,24 @@ If you want to delete your Chart, use this command
|
||||
helm delete --purge "cassandra"
|
||||
```
|
||||
|
||||
## Upgrading
|
||||
|
||||
To upgrade your Cassandra release, simply run
|
||||
|
||||
```bash
|
||||
helm upgrade "cassandra" incubator/cassandra
|
||||
```
|
||||
|
||||
### 0.12.0
|
||||
|
||||
This version fixes https://github.com/helm/charts/issues/7803 by removing mutable labels in `spec.VolumeClaimTemplate.metadata.labels` so that it is upgradable.
|
||||
|
||||
Until this version, in order to upgrade, you have to delete the Cassandra StatefulSet before upgrading:
|
||||
```bash
|
||||
$ kubectl delete statefulset --cascade=false my-cassandra-release
|
||||
```
|
||||
|
||||
|
||||
## Persist data
|
||||
You need to create `StorageClass` before able to persist data in persistent volume.
|
||||
To create a `StorageClass` on Google Cloud, run the following
|
||||
|
||||
@@ -183,9 +183,7 @@ spec:
|
||||
name: data
|
||||
labels:
|
||||
app: {{ template "cassandra.name" . }}
|
||||
chart: {{ template "cassandra.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.accessMode | quote }}
|
||||
|
||||
Reference in New Issue
Block a user