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
572 B

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