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
568 B
20 lines
568 B
4 years ago
|
{{- if eq .Values.discourse.enabled "True" }}
|
||
|
apiVersion: v1
|
||
|
kind: PersistentVolumeClaim
|
||
|
metadata:
|
||
|
name: {{ include "edemocracia.fullname" . }}-discourse-js
|
||
|
spec:
|
||
|
accessModes:
|
||
|
- {{ .Values.discourse.persistence.accessMode }}
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: {{ .Values.discourse.persistence.size }}
|
||
|
{{- if .Values.discourse.persistence.storageClass }}
|
||
|
{{- if (eq "-" .Values.discourse.persistence.storageClass) }}
|
||
|
storageClassName: ""
|
||
|
{{- else }}
|
||
|
storageClassName: "{{ .Values.discourse.persistence.storageClass }}"
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|