diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-10-26 17:49:05 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-10-26 17:49:05 +0100 |
commit | 911e094fda1d3c5a76f567ea7d82de1dcfcba7da (patch) | |
tree | b14a042735a94dfd35485cd6ca9b141d5c50f5ff | |
parent | 80a32b94ca05c392d49a0abaeeec27e859358633 (diff) |
[COMMON] allow multiline config for aaf add config
Use trim function in order to remove the 4 first spaces that breaks
configuration when aaf add config is a multiline (a.k.a uses `|`) YAML
entry.
Issue-ID: OOM-2611
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ib53a8a87f896a66ba613d542cfca833804ef1d7a
-rw-r--r-- | kubernetes/common/certInitializer/templates/configmap.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/certInitializer/templates/configmap.yaml b/kubernetes/common/certInitializer/templates/configmap.yaml index 7abbf9c7d8..7eae899cc1 100644 --- a/kubernetes/common/certInitializer/templates/configmap.yaml +++ b/kubernetes/common/certInitializer/templates/configmap.yaml @@ -21,5 +21,5 @@ kind: ConfigMap metadata: {{- include "common.resourceMetadata" (dict "suffix" $suffix "dot" . )| nindent 2 }} data: aaf-add-config.sh: | - {{ tpl .Values.aaf_add_config . | indent 4 }} + {{ tpl .Values.aaf_add_config . | indent 4 | trim }} {{- end }} |