Interlegis Public Rancher Charts for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
520 B

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "edemocracia.fullname" . }}-edemocracia
spec:
accessModes:
- {{ .Values.edemocracia.persistence.accessMode }}
resources:
requests:
storage: {{ .Values.edemocracia.persistence.size }}
{{- if .Values.edemocracia.persistence.storageClass }}
{{- if (eq "-" .Values.edemocracia.persistence.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.edemocracia.persistence.storageClass }}"
{{- end }}
{{- end }}