Skip to content

Commit

Permalink
fix PVC: instead using storageClass with name 'default' use default s…
Browse files Browse the repository at this point in the history
…torageClass (#34)

Co-authored-by: vasilykraev <[email protected]>
  • Loading branch information
vasilykraev and vasilykraev authored Nov 3, 2023
1 parent 09dec4a commit eb26711
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion charts/vaultwarden/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,7 @@ spec:
resources:
requests:
storage: {{ .Values.storage.size }}
storageClassName: {{ default "default" .Values.storage.class }}
{{- if .Values.storage.class }}
storageClassName: {{ .Values.storage.class | quote }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/vaultwarden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ storage:
size: "15Gi"
## @param storage.class Specify the storage class
##
class: "default"
class: ""
## @param storage.dataDir Specify the data directory
##
dataDir: "/data"
Expand Down

0 comments on commit eb26711

Please sign in to comment.