From 0b51d8464666384d4b42ee77b391a4f9c0f2180b Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 6 Dec 2019 15:57:35 +0200 Subject: [PATCH] Fix values.yaml in helm chart --- helm/mautrix-whatsapp/values.yaml | 47 +++++++++++++++++-------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/helm/mautrix-whatsapp/values.yaml b/helm/mautrix-whatsapp/values.yaml index 521129e..989cc9f 100644 --- a/helm/mautrix-whatsapp/values.yaml +++ b/helm/mautrix-whatsapp/values.yaml @@ -34,7 +34,8 @@ affinity: {} # Postgres pod configs postgresql: enabled: true - postgresqlDatabase: mxtg + postgresqlDatabase: mxwa + postgresqlPassword: SET TO RANDOM STRING persistence: size: 2Gi resources: @@ -59,7 +60,7 @@ appservice: botDisplayname: WhatsApp bridge bot botAvatar: mxc://maunium.net/NeXNQarUbrlYBiPCpprYsRqr - # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify. + # Authentication tokens for AS <-> HS communication. asToken: SET TO RANDOM STRING hsToken: SET TO RANDOM STRING @@ -111,22 +112,26 @@ bridge: "example.com": user "@admin:example.com": admin - relaybot: - # Whether or not relaybot support is enabled. - enabled: false - # The management room for the bot. This is where all status notifications are posted and - # in this room, you can use `!wa ` instead of `!wa relaybot `. Omitting - # the command prefix completely like in user management rooms is not possible. - management: !foo:example.com - # List of users to invite to all created rooms that include the relaybot. - invites: [] - # The formats to use when sending messages to WhatsApp via the relaybot. - message_formats: - m.text: "{{ .Sender.Displayname }}: {{ .Message }}" - m.notice: "{{ .Sender.Displayname }}: {{ .Message }}" - m.emote: "* {{ .Sender.Displayname }} {{ .Message }}" - m.file: "{{ .Sender.Displayname }} sent a file" - m.image: "{{ .Sender.Displayname }} sent an image" - m.audio: "{{ .Sender.Displayname }} sent an audio file" - m.video: "{{ .Sender.Displayname }} sent a video" - m.location: "{{ .Sender.Displayname }} sent a location" + relaybot: + # Whether or not relaybot support is enabled. + enabled: false + # The management room for the bot. This is where all status notifications are posted and + # in this room, you can use `!wa ` instead of `!wa relaybot `. Omitting + # the command prefix completely like in user management rooms is not possible. + management: !foo:example.com + # List of users to invite to all created rooms that include the relaybot. + invites: [] + # The formats to use when sending messages to WhatsApp via the relaybot. + message_formats: + m.text: "{{ .Sender.Displayname }}: {{ .Message }}" + m.notice: "{{ .Sender.Displayname }}: {{ .Message }}" + m.emote: "* {{ .Sender.Displayname }} {{ .Message }}" + m.file: "{{ .Sender.Displayname }} sent a file" + m.image: "{{ .Sender.Displayname }} sent an image" + m.audio: "{{ .Sender.Displayname }} sent an audio file" + m.video: "{{ .Sender.Displayname }} sent a video" + m.location: "{{ .Sender.Displayname }} sent a location" + +logging: + timestamp_format: Jan _2, 2006 15:04:05 + print_level: debug