Skip to content

Commit

Permalink
Fixes Storageclass
Browse files Browse the repository at this point in the history
  • Loading branch information
0hlov3 committed Nov 19, 2023
1 parent 9f94ca2 commit ef5ed49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/privatebin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords:
- pastebin
- self-destroy
type: application
version: 0.1.3
version: 0.1.4
appVersion: "1.6.0"
maintainers:
- name: fSocietySocial
Expand Down
4 changes: 3 additions & 1 deletion charts/privatebin/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.capacity }}
storageClassName: {{ .Values.persistence.storageclassname | default "default" }}
{{- if .Values.persistence.storageclassname }}
storageClassName: {{ .Values.persistence.storageclassname}}
{{- end }}
{{- end }}

0 comments on commit ef5ed49

Please sign in to comment.