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 name: conduit
description: Conduit is a simple, fast and reliable chat server powered by Matrix. description: Conduit is a simple, fast and reliable chat server powered by Matrix.
type: application type: application
version: 0.2.7 version: 0.2.8
appVersion: "0.6.0" appVersion: "0.6.0"

View file

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

View file

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