Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

fixed cassandra chart's persistence bug #1245

Merged
merged 2 commits into from
Jul 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion incubator/cassandra/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cassandra
version: 0.1.0
version: 0.1.1
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 high availability with no single point of failure.
icon: https://upload.wikimedia.org/wikipedia/commons/5/5e/Cassandra_logo.svg
keywords:
Expand Down
12 changes: 6 additions & 6 deletions incubator/cassandra/templates/cassandra-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ spec:
containerPort: {{ default 9160 .Values.config.ports.thrift }}
volumeMounts:
- name: data
{{- if .Values.persistence.enabled }}
mountPath: /var/lib/cassandra
{{- else }}
emptyDir: {}
{{- end }}
{{- if .Values.persistence.enabled }}
{{- if not .Values.persistence.enabled }}
volumes:
- name: data
emptyDir: {}
{{- else }}
volumeClaimTemplates:
- metadata:
name: data
Expand All @@ -125,4 +125,4 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- end }}
{{- end }}