Try hardcoding the group, since that's the group in the external Conduit image.

This commit is contained in:
Tommy 2023-10-29 15:41:22 +01:00
parent 2bd58d0712
commit 744c654213
3 changed files with 3 additions and 7 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.7
version: 0.2.8
appVersion: "0.6.0"

View file

@ -33,10 +33,9 @@ spec:
{{- end }}
serviceAccountName: {{ include "conduit.serviceAccountName" . }}
securityContext:
{{- if .Values.persistence.enabled }}
# the conduit group is 1000 in the image
# set fsGroup to allow write to PVC
fsGroup: 1000
{{- end }}
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:

View file

@ -42,9 +42,6 @@ conduit:
podLabels: {}
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop: