mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-28 12:56:46 -08:00
hookshot: enable widgets in rooms where its invited by default
This commit is contained in:
5 files changed
+22
-4
No files matched your search
File renamed without changes.
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Hookshot: Enable adding widgets in rooms where it is invited by default.
|
||||
Reference in new issue
Block a user