Merge pull request #250 from element-hq/bbz/more-template-error-message-fixes

Fix incorrect missing context error messages for some configuration files
This commit is contained in:
Ben Banfield-Zanin authored and GitHub committed 2025-03-05 11:14:02 +00:00
commit 4e6dd8d774
5 files changed
+5 -4

No files matched your search

@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
*/ -}}
{{- $root := .root -}}
{{- with required "haproxy.cfg.tpl missing context" .context -}}
{{- with required "haproxy/haproxy.cfg.tpl missing context" .context -}}
global
maxconn 40000
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
*/ -}}
{{- $root := .root }}
{{- with required "config.yaml missing context" .context }}
{{- with required "matrix-authentication-service/config.yaml.tpl missing context" .context }}
http:
public_base: "https://{{ tpl .ingress.host $root }}"
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
*/ -}}
{{- $root := .root -}}
{{- with required "haproxy.cfg.tpl missing context" .context -}}
{{- with required "synapse/partial-haproxy.cfg.tpl missing context" .context -}}
frontend startup
bind *:8406
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
*/ -}}
{{- $root := .root -}}
{{- with required "haproxy.cfg.tpl missing context" .context -}}
{{- with required "well-known/partial-haproxy.cfg.tpl missing context" .context -}}
frontend well-known-in
bind *:8010
+1
View File
@@ -0,0 +1 @@
Fix incorrect missing context error messages from some configuration files.