Merge branch 'master' of gitlab.com:ananace/charts
This commit is contained in:
commit
3896a4c03f
3 changed files with 22 additions and 1 deletions
|
@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
|
|||
appVersion: 1.19.0
|
||||
|
||||
type: application
|
||||
version: 1.2.0
|
||||
version: 1.3.0
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
email: ace@haxalot.com
|
||||
|
|
|
@ -32,6 +32,24 @@ spec:
|
|||
{{- include "matrix-synapse.imagePullSecrets" . | nindent 6 }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.synapse.podSecurityContext | nindent 8 }}
|
||||
{{- if $needsVolumePermissions }}
|
||||
initContainers:
|
||||
- name: volume-permissions
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
chown {{ .Values.volumePermissions.uid }}:{{ .Values.volumePermissions.gid }} -R /synapse/data
|
||||
image: "{{ .Values.volumePermissions.image.repository }}:{{ .Values.volumePermissions.image.tag }}"
|
||||
resources:
|
||||
{{- toYaml .Values.volumePermissions.resources | nindent 12 }}
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
runAsUser: 0
|
||||
volumeMounts:
|
||||
- name: media
|
||||
mountPath: /synapse/data
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: synapse
|
||||
command:
|
||||
|
|
|
@ -534,6 +534,9 @@ persistence:
|
|||
volumePermissions:
|
||||
enabled: false
|
||||
|
||||
uid: 666
|
||||
gid: 666
|
||||
|
||||
image:
|
||||
repository: alpine
|
||||
tag: latest
|
||||
|
|
Loading…
Reference in a new issue