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.

20 lines
565 B

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