Skip to content

Commit

Permalink
Ledger: Allow setting storageClass
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed May 20, 2020
1 parent a3f47f4 commit 193c952
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ledger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: ledger
description: A ledger for your CD pipeline
version: 0.1.8
version: 0.1.9
appVersion: 0.1.5
sources:
- https://github.com/stenic/helm-charts/tree/master/charts/ledger
4 changes: 3 additions & 1 deletion charts/ledger/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ spec:
name: {{ include "ledger.fullname" . }}-data
spec:
accessModes: [ "ReadWriteOnce" ]
# storageClassName: "my-storage-class"
{{- with .Values.persistence.storageClass }}
storageClassName: "{{ . }}"
{{- end }}
resources:
requests:
storage: 1Gi

0 comments on commit 193c952

Please sign in to comment.