diff --git a/charts/conduit/Chart.yaml b/charts/conduit/Chart.yaml index 9508774..75810bd 100644 --- a/charts/conduit/Chart.yaml +++ b/charts/conduit/Chart.yaml @@ -4,5 +4,5 @@ description: Conduit is a simple, fast and reliable chat server powered by Matri type: application -version: 0.2.1 +version: 0.2.2 appVersion: "0.6.0" diff --git a/charts/conduit/templates/deployment.yaml b/charts/conduit/templates/deployment.yaml index 9514288..1bedc9b 100644 --- a/charts/conduit/templates/deployment.yaml +++ b/charts/conduit/templates/deployment.yaml @@ -62,7 +62,7 @@ spec: - name: "CONDUIT_SERVER_NAME" value: {{ .Values.conduit.server_name | quote }} - name: "CONDUIT_DATABASE_PATH" - value: "/var/lib/matrix-conduit" + value: "/var/local/matrix-conduit" - name: "CONDUIT_DATABASE_BACKEND" value: "rocksdb" - name: "CONDUIT_ALLOW_CHECK_FOR_UPDATE" @@ -93,13 +93,11 @@ spec: - name: "CONDUIT_REGISTRATION_TOKEN" value: {{ . | quote }} {{- end }} - {{- with .Values.conduit.wellKnownClient }} - name: "CONDUIT_WELL_KNOWN_CLIENT" - value: {{ . | quote }} - {{- end }} + value: false volumeMounts: - name: "data" - mountPath: "/var/lib/matrix-conduit" + mountPath: "/var/local/matrix-conduit" {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} @@ -114,11 +112,7 @@ spec: {{- end }} volumes: - name: "data" - {{- if .Values.persistence.hostPath }} - hostPath: - type: Directory - path: {{ .Values.persistence.hostPath | quote }} - {{- else if .Values.persistence.enabled }} + {{- if .Values.persistence.enabled }} persistentVolumeClaim: claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "conduit.fullname" . }}{{- end }} {{- else }}