2019-11-10 19:56:30 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
2021-09-16 18:18:39 +00:00
|
|
|
name: {{ template "mautrix-groupme.fullname" . }}
|
2019-11-10 19:56:30 +00:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
2021-09-16 18:18:39 +00:00
|
|
|
app.kubernetes.io/name: {{ template "mautrix-groupme.name" . }}
|
2019-11-10 19:56:30 +00:00
|
|
|
data:
|
|
|
|
config.yaml: |
|
|
|
|
homeserver:
|
|
|
|
address: {{ .Values.homeserver.address }}
|
|
|
|
domain: {{ .Values.homeserver.domain }}
|
|
|
|
|
|
|
|
appservice:
|
2021-09-16 18:18:39 +00:00
|
|
|
address: http://{{ include "mautrix-groupme.fullname" . }}:{{ .Values.service.port }}
|
2019-11-10 19:56:30 +00:00
|
|
|
|
|
|
|
hostname: 0.0.0.0
|
|
|
|
port: {{ .Values.service.port }}
|
|
|
|
|
|
|
|
{{- if .Values.postgresql.enabled }}
|
|
|
|
database:
|
|
|
|
type: postgres
|
|
|
|
uri: "postgres://postgres:{{ .Values.postgresql.postgresqlPassword }}@{{ .Release.Name }}-postgresql/{{ .Values.postgresql.postgresqlDatabase }}?sslmode=disable"
|
|
|
|
{{- else }}
|
|
|
|
database:
|
|
|
|
{{- toYaml .Values.appservice.database | nindent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
id: {{ .Values.appservice.id }}
|
|
|
|
bot:
|
|
|
|
username: {{ .Values.appservice.botUsername }}
|
|
|
|
displayname: {{ .Values.appservice.botDisplayname }}
|
|
|
|
avatar: {{ .Values.appservice.botAvatar }}
|
|
|
|
|
|
|
|
as_token: {{ .Values.appservice.asToken }}
|
|
|
|
hs_token: {{ .Values.appservice.hsToken }}
|
|
|
|
|
|
|
|
bridge:
|
|
|
|
{{- toYaml .Values.bridge | nindent 6 }}
|
|
|
|
|
|
|
|
logging:
|
|
|
|
{{- toYaml .Values.logging | nindent 6 }}
|
|
|
|
registration.yaml: ""
|