Try hardcoding the group, since that's the group in the external Conduit image.
This commit is contained in:
parent
2bd58d0712
commit
744c654213
3 changed files with 3 additions and 7 deletions
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -42,9 +42,6 @@ conduit:
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
podSecurityContext: {}
|
|
||||||
# fsGroup: 2000
|
|
||||||
|
|
||||||
securityContext: {}
|
securityContext: {}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
|
|
Loading…
Reference in a new issue