Skip to content

Commit

Permalink
Fixing pvc definition (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
clee231 authored Oct 24, 2023
1 parent 7b569d8 commit 1d7c683
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/marketplace/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ metadata:
labels:
{{- include "marketplace.labels" . | nindent 4 }}
spec:
accessModes:
{{- if not ( empty .Values.persistence.accessModes ) }}
{{- range .Values.persistence.accessModes }}
- {{ . | quote }}
{{- end }}
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/marketplace/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ persistence:
annotations: {}
size: 8Gi
storageClass: "-"
accessModes:
- ReadWriteOnce

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 1d7c683

Please sign in to comment.