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

Cassandra fails to deploy with persistence disabled #1176

Closed
touchdown opened this issue May 26, 2017 · 1 comment · Fixed by #1245
Closed

Cassandra fails to deploy with persistence disabled #1176

touchdown opened this issue May 26, 2017 · 1 comment · Fixed by #1245

Comments

@touchdown
Copy link
Contributor

Is this a request for help?:
No

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
Helm v2.4.2
K8s v1.6.4

Which chart:
incubator/cassandra

What happened:
setting persistence.enabled = false doesn't deploy

What you expected to happen:
deploy cassandra cluster with emptyDir

How to reproduce it (as minimally and precisely as possible):
helm install --namespace "cassandra" -n "cassandra" --set persistence.enabled=false incubator/cassandra

Error: error validating "": error validating data: [field spec.template.spec.containers[0].volumeMounts[0].mountPath for v1.VolumeMount is required, found invalid field emptyDir for v1.VolumeMount]

Anything else we need to know:
I have a fix locally, just want to make sure it is ok to submit a PR for the fix @KongZ

@KongZ
Copy link
Collaborator

KongZ commented May 29, 2017

@touchdown Sure, please submit a PR. Thanks a lot :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants