christmas/chart/templates/pvc.yaml
Nathan Lanier 31531b607d
Create Helm Chart (#43)
* chore: initial commit of helm chart yaml

* chore: add docs and reset ingress classname default

* chore: helm repo add and install documentation

* chore: add env variables to deployment and values

* fix: remove port env variable
2022-10-18 14:59:34 -04:00

17 lines
No EOL
440 B
YAML

{{- if .Values.persistence.enabled -}}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "christmas-community.fullname" . }}-pvc
labels:
{{- include "christmas-community.labels" . | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: local-path
volumeMode: Filesystem
volumeName: {{ include "christmas-community.fullname" . }}-pv
{{- end }}