hookshot: enable widgets in rooms where its invited by default

This commit is contained in:
Gaël Goinvic committed 2026-01-23 15:30:33 +01:00
1 parent c4d079aafd
commit a2efde54ea
5 files changed
+22 -4

No files matched your search

@@ -0,0 +1,15 @@
{{- /*
Copyright 2026 Element Creations Ltd
SPDX-License-Identifier: AGPL-3.0-only
*/ -}}
{{- $root := .root }}
{{- with required "hookshot/config-overrides.yaml.tpl missing context" .context }}
{{- $context := . -}}
widgets:
roomSetupWidget:
addOnInvite: true
{{- end -}}
@@ -97,8 +97,10 @@ env: []
{{- define "element-io.hookshot.configmap-data" }}
{{- $root := .root -}}
{{- with required "element-io.hookshot.configmap-data" .context -}}
config.yaml: |
{{- (tpl ($root.Files.Get "configs/hookshot/config.yaml.tpl") (dict "root" $root "context" .)) | nindent 2 }}
config-underride.yaml: |
{{- (tpl ($root.Files.Get "configs/hookshot/config-underride.yaml.tpl") (dict "root" $root "context" .)) | nindent 2 }}
config-override.yaml: |
{{- (tpl ($root.Files.Get "configs/hookshot/config-override.yaml.tpl") (dict "root" $root "context" .)) | nindent 2 }}
{{- end -}}
{{- end -}}
@@ -47,8 +47,8 @@ spec:
(dict "additionalPath" "hookshot.additional"
"nameSuffix" "hookshot"
"containerName" "render-config"
"underrides" list
"overrides" (list "config.yaml")
"underrides" (list "config-underride.yaml")
"overrides" (list "config-override.yaml")
"outputFile" "hookshot-config.yaml"
"resources" .resources
"containersSecurityContext" .containersSecurityContext
+1
View File
@@ -0,0 +1 @@
Hookshot: Enable adding widgets in rooms where it is invited by default.