synapse init: Complete docs

Co-authored-by: Ben Banfield-Zanin <[email protected]>
This commit is contained in:
Gaël GoinvicandBen Banfield-Zanin authored and GitHub committed 2025-01-28 10:29:52 +01:00
1 parent e50cba6f98
commit d2438ec821
1 file changed
+1
@@ -104,6 +104,7 @@ We have an init container to render & merge the config for several reasons:
The prefixes `secret://` and `hostname://` are mechanisms handled in the matrix-tools binary:
- `secret://` is used to read the secret from the filesystem and inject in the rendered config file
- `hostname://` is used to drop the pattern indicated from the hostname and inject resulting value in the config file
- Anything else is handled as a simple string replacement
*/}}
- name: SYNAPSE_MACAROON
value: secret:///secrets/{{ tpl (.macaroon.secret | default (printf "%s-synapse" $.Release.Name)) $ }}/{{ .macaroon.secretKey | default "MACAROON" }}