From 9776c923c09b5ac443bab9541e679b1950ccd8b8 Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Wed, 15 Apr 2026 10:40:02 +0800 Subject: [PATCH] fix: use %v instead of %s+print for port in static template --- deploy/templates/static-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/templates/static-deployment.yaml b/deploy/templates/static-deployment.yaml index 1b851c6..a180d4b 100644 --- a/deploy/templates/static-deployment.yaml +++ b/deploy/templates/static-deployment.yaml @@ -37,7 +37,7 @@ spec: - name: STATIC_ROOT value: /data - name: STATIC_BIND - value: {{ printf "0.0.0.0:%s" (print $svc.service.port) }} + value: {{ printf "0.0.0.0:%v" $svc.service.port }} - name: STATIC_CORS value: {{ $svc.cors | default "true" | quote }} {{- if $svc.logLevel }}