Debug permission issues with mounted filesystem (PV)

This commit is contained in:
Tommy 2023-10-29 13:55:41 +01:00
parent 0997ca2691
commit 736ea03631
3 changed files with 6 additions and 5 deletions

View file

@ -2,5 +2,5 @@ apiVersion: v2
name: conduit
description: Conduit is a simple, fast and reliable chat server powered by Matrix.
type: application
version: 0.2.4
version: 0.2.5
appVersion: "0.6.0"

View file

@ -62,7 +62,7 @@ spec:
- name: "CONDUIT_SERVER_NAME"
value: {{ .Values.conduit.server_name | quote }}
- name: "CONDUIT_DATABASE_PATH"
value: "/var/local/matrix-conduit"
value: "/var/lib/conduit"
- name: "CONDUIT_DATABASE_BACKEND"
value: "rocksdb"
- name: "CONDUIT_ALLOW_CHECK_FOR_UPDATE"
@ -97,7 +97,8 @@ spec:
value: ""
volumeMounts:
- name: "data"
mountPath: "/var/local/matrix-conduit"
mountPath: "/var/lib/conduit"
readOnly: false
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@ -114,7 +115,7 @@ spec:
- name: "data"
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "conduit.fullname" . }}{{- end }}
claimName: {{ template "conduit.fullname" . }}
{{- else }}
emptyDir: {}
{{- end }}

View file

@ -1,4 +1,4 @@
{{- if and .Values.persistence.enabled ( not .Values.persistence.existingClaim) -}}
{{- if and .Values.persistence.enabled -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata: