Skip to content

Commit

Permalink
Add volumeMode option to volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Jul 18, 2023
1 parent 58f1704 commit 470a69c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: generic
description: A generic helm chart that handles a bunch of common application deploy cases
type: application
version: 1.0.0
version: 1.1.0
1 change: 1 addition & 0 deletions charts/generic/templates/volumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ apiVersion: v1
metadata:
name: {{ $fullName }}-{{ .name }}
spec:
volumeMode: {{ .volumeMode | default "Filesystem" }}
accessModes:
- ReadWriteOnce
resources:
Expand Down
1 change: 1 addition & 0 deletions charts/generic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ volumes: []
# readOnly: false
# size: 1Gi
# storageClassName: longhorn
# volumeMode: Filesystem|Block

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit 470a69c

Please sign in to comment.