Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Fix issue that prevented setting a custom volume storage class. (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpereira authored Jan 21, 2020
1 parent 59ab52d commit 1c44493
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to

## [Unreleased]

- Fix issue that prevented setting a custom volume storage class.
([#42](https://github.com/mesosphere/kudo-cassandra-operator/pull/42))

## [3.11.5-0.1.1] - 2019-12-12

### Added
Expand Down
2 changes: 1 addition & 1 deletion operator/templates/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,6 @@ spec:
resources:
requests:
storage: "{{ .Params.NODE_DISK_SIZE_GIB }}Gi"
{{ if eq .Params.NODE_STORAGE_CLASS "true" }}
{{ if .Params.NODE_STORAGE_CLASS }}
storageClassName: {{ .Params.NODE_STORAGE_CLASS }}
{{ end }}
2 changes: 1 addition & 1 deletion templates/operator/templates/stateful-set.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,6 @@ spec:
resources:
requests:
storage: "{{ .Params.NODE_DISK_SIZE_GIB }}Gi"
{{ if eq .Params.NODE_STORAGE_CLASS "true" }}
{{ if .Params.NODE_STORAGE_CLASS }}
storageClassName: {{ .Params.NODE_STORAGE_CLASS }}
{{ end }}

0 comments on commit 1c44493

Please sign in to comment.