Fábio Kaiser Rauber
3 years ago
5 changed files with 11 additions and 73 deletions
@ -1,19 +0,0 @@ |
|||||
{{- if .Values.discourse.enabled }} |
|
||||
apiVersion: v1 |
|
||||
kind: PersistentVolumeClaim |
|
||||
metadata: |
|
||||
name: {{ include "edemocracia.fullname" . }}-discourse-assets |
|
||||
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 }} |
|
@ -1,19 +0,0 @@ |
|||||
{{- if .Values.discourse.enabled }} |
|
||||
apiVersion: v1 |
|
||||
kind: PersistentVolumeClaim |
|
||||
metadata: |
|
||||
name: {{ include "edemocracia.fullname" . }}-discourse-cache |
|
||||
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 }} |
|
@ -1,19 +0,0 @@ |
|||||
{{- if .Values.discourse.enabled }} |
|
||||
apiVersion: v1 |
|
||||
kind: PersistentVolumeClaim |
|
||||
metadata: |
|
||||
name: {{ include "edemocracia.fullname" . }}-discourse-img |
|
||||
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 }} |
|
Loading…
Reference in new issue