From 2d1d8ac2b183d51cfd1e5abe4aa97b5cade18547 Mon Sep 17 00:00:00 2001 From: firebook Date: Fri, 28 Feb 2025 14:14:13 +0800 Subject: [PATCH] fix: gateway log config should read from helm\core\values.yaml when deploy with helm (#1834) --- helm/core/templates/_pod.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/core/templates/_pod.tpl b/helm/core/templates/_pod.tpl index 4e339421b4..ca6b3841b9 100644 --- a/helm/core/templates/_pod.tpl +++ b/helm/core/templates/_pod.tpl @@ -42,9 +42,9 @@ template: - router - --domain - $(POD_NAMESPACE).svc.cluster.local - - --proxyLogLevel=warning - - --proxyComponentLogLevel=misc:error - - --log_output_level=all:info + - --proxyLogLevel={{- default "warning" .Values.global.proxy.logLevel }} + - --proxyComponentLogLevel={{- default "misc:error" .Values.global.proxy.componentLogLevel }} + - --log_output_level={{- default "default:info" .Values.global.logging.level }} - --serviceCluster=higress-gateway securityContext: {{- if .Values.gateway.containerSecurityContext }}