From 82b4c6e2161b5b7ea0396c896eeb5d74f9966b4e Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Wed, 2 Aug 2023 09:29:17 -0700 Subject: [PATCH] Fix the syntax for templating certificates (#1345) --- docs/reference/template-functions-config-context.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/template-functions-config-context.md b/docs/reference/template-functions-config-context.md index 8bd75f013a..326c4c276c 100644 --- a/docs/reference/template-functions-config-context.md +++ b/docs/reference/template-functions-config-context.md @@ -54,10 +54,10 @@ metadata: name: tls-config data: tls.crt: | - {{repl ConfigOptionData "tls_certificate_file" | nindent 4 }} + repl{{- ConfigOptionData "tls_certificate_file" | nindent 4 }} tls.key: | - {{repl ConfigOptionData "tls_private_key_file" | nindent 4 }} + repl{{- ConfigOptionData "tls_private_key_file" | nindent 4 }} ``` ## ConfigOptionFilename