From e302e263a420fed8f27702727cca4726570ff575 Mon Sep 17 00:00:00 2001 From: windmgc Date: Tue, 26 Nov 2024 15:52:33 +0800 Subject: [PATCH] fix(*): unsetenv unconditionally clean http/stream env --- kong/cmd/utils/nginx_signals.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kong/cmd/utils/nginx_signals.lua b/kong/cmd/utils/nginx_signals.lua index fb162b37005c..666973b4db71 100644 --- a/kong/cmd/utils/nginx_signals.lua +++ b/kong/cmd/utils/nginx_signals.lua @@ -101,7 +101,8 @@ end local function unset_process_secrets_env(has_process_secrets) if has_process_secrets then - C.unsetenv("KONG_PROCESS_SECRETS") + C.unsetenv("KONG_PROCESS_SECRETS_HTTP") + C.unsetenv("KONG_PROCESS_SECRETS_STREAM") end end