From a0d99585c6a6ceb43bc6853e520eb0574c07a7c6 Mon Sep 17 00:00:00 2001 From: fumingwei Date: Fri, 12 Jan 2024 15:00:38 +0800 Subject: [PATCH] bugfix:TSG-18585:fix helm template traffic-engine.coredump invoke error. --- ansible/roles/traffic-engine/files/helm/conf/sapp.toml | 2 +- ansible/roles/traffic-engine/files/helm/conf/sce.conf | 2 +- ansible/roles/traffic-engine/files/helm/conf/tfe.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/traffic-engine/files/helm/conf/sapp.toml b/ansible/roles/traffic-engine/files/helm/conf/sapp.toml index 6a5bd2bc..4b1cb7bc 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/sapp.toml +++ b/ansible/roles/traffic-engine/files/helm/conf/sapp.toml @@ -235,7 +235,7 @@ bypass_trigger_cpu_usage={{ .Values.overload_protection.detect_threshold_cpu_usa [BREAKPAD] - {{- include "traffic-engine.coredump" . | indent 4 }} + {{- include "traffic-engine.coredump" . | nindent 4 }} breakpad_minidump_dir="/run/sapp/crashreport" breakpad_upload_tools="/opt/tsg/framework/bin/minidump_upload" diff --git a/ansible/roles/traffic-engine/files/helm/conf/sce.conf b/ansible/roles/traffic-engine/files/helm/conf/sce.conf index bcdd4a9a..c53302f0 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/sce.conf +++ b/ansible/roles/traffic-engine/files/helm/conf/sce.conf @@ -8,7 +8,7 @@ ts_update_interval_ms=1 # Only when (disable_coredump == 1 || (enable_breakpad == 1 && enable_breakpad_upload == 1)) is satisfied, the core will not be generated locally -{{- include "traffic-engine.coredump" . }} +{{ include "traffic-engine.coredump" . }} # must be /run/sce/crashreport,due to tmpfile limit breakpad_minidump_dir=/run/sce/crashreport breakpad_upload_tools=/opt/tsg/framework/bin/minidump_upload diff --git a/ansible/roles/traffic-engine/files/helm/conf/tfe.conf b/ansible/roles/traffic-engine/files/helm/conf/tfe.conf index 36c8f597..e76e4bb4 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/tfe.conf +++ b/ansible/roles/traffic-engine/files/helm/conf/tfe.conf @@ -7,7 +7,7 @@ enable_kni_v4=1 # Only when (disable_coredump == 1 || (enable_breakpad == 1 && enable_breakpad_upload == 1)) is satisfied, the core will not be generated locally -{{- include "traffic-engine.coredump" . }} +{{ include "traffic-engine.coredump" . }} # must be /run/tfe/crashreport due to tmpfile limit breakpad_minidump_dir=/run/tfe/crashreport breakpad_upload_tools=/opt/tsg/framework/bin/minidump_upload