Fix error with duplicate securitycontext entries.
This commit is contained in:
parent
ee036a28ad
commit
2bd58d0712
2 changed files with 5 additions and 5 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.6
|
version: 0.2.7
|
||||||
appVersion: "0.6.0"
|
appVersion: "0.6.0"
|
||||||
|
|
|
@ -33,6 +33,9 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "conduit.serviceAccountName" . }}
|
serviceAccountName: {{ include "conduit.serviceAccountName" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
fsGroup: 1000
|
||||||
|
{{- end }}
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
|
@ -117,7 +120,4 @@ spec:
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ template "conduit.fullname" . }}
|
claimName: {{ template "conduit.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.persistence.enabled }}
|
|
||||||
securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
{{- end }}
|
|
||||||
|
|
Loading…
Reference in a new issue