From 6633383421abed735ba1025ed347cc756bd806e1 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Sat, 22 Feb 2025 21:30:55 +0800 Subject: [PATCH] fix(authentication): update SERVICE_API_ACCESS_PORT and MONGODB_PORT to use toString before base64 encoding Signed-off-by: zhenyus --- .../templates/authentication/authentication-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml index e489785d..c352494d 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml @@ -12,8 +12,8 @@ data: JWT_SECRET_KEY: {{ .Values.authentication.configs.jwtSecretKey | b64enc | quote }} JWT_ALGORITHM: {{ .Values.authentication.configs.jwtAlgorithm | b64enc | quote }} SERVICE_API_ACCESS_HOST: {{ .Values.authentication.configs.serviceApiAccessHost | b64enc | quote }} - SERVICE_API_ACCESS_PORT: {{ .Values.authentication.configs.serviceApiAccessPort | quote | b64enc }} + SERVICE_API_ACCESS_PORT: {{ .Values.authentication.configs.serviceApiAccessPort | toString | b64enc }} MONGODB_NAME: {{ .Values.authentication.configs.mongodbName | b64enc | quote }} - MONGODB_PORT: {{ .Values.authentication.configs.mongodbPort | quote | b64enc }} - MONGODB_URI: {{ .Values.authentication.configs.mongodbUri | b64enc | quote }}1 + MONGODB_PORT: {{ .Values.authentication.configs.mongodbPort | toString | b64enc }} + MONGODB_URI: {{ .Values.authentication.configs.mongodbUri | b64enc | quote }} \ No newline at end of file