remove all postgres and redis, rename everything to adminFrontend, remove other things we do not need

This commit is contained in:
Maarten de Waard 2021-09-30 15:33:22 +02:00
parent f0b0dd3e36
commit 44c020e37f
No known key found for this signature in database
GPG key ID: 1D3E893A657CC8DA
9 changed files with 109 additions and 594 deletions

View file

@ -1,4 +1,5 @@
{{- if and (include "discourse.host" .) .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
# Disabled by default because the current admin panel does not need persistence
{{- if and (include "adminFrontend.host" .) .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
@ -16,7 +17,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{ include "discourse.storageClass" . }}
{{ include "adminFrontend.storageClass" . }}
{{- if .Values.persistence.selector }}
selector: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.selector "context" $) | nindent 4 }}
{{- end -}}