From 566f3b88066efb789e4a8c5a2f42ff95195214cf Mon Sep 17 00:00:00 2001 From: YuehuCao Date: Tue, 14 Oct 2025 11:10:32 +0800 Subject: [PATCH 1/2] fix(auth): modify the auth endpoint --- freeleaps/helm-pkg/notification/values.prod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeleaps/helm-pkg/notification/values.prod.yaml b/freeleaps/helm-pkg/notification/values.prod.yaml index 3d45aac2..79a76703 100644 --- a/freeleaps/helm-pkg/notification/values.prod.yaml +++ b/freeleaps/helm-pkg/notification/values.prod.yaml @@ -75,7 +75,7 @@ notification: mongodbName: freeleaps2 mongodbPort: 27017 rabbitmqHost: freeleaps-prod-rabbitmq-headless.freeleaps-prod.svc.freeleaps.cluster - authServiceEndpoint: http://freeleaps-auth-service.68c0da88a0a7837e84b580eb-prod.svc.freeleaps.cluster:9000/api/v1/keys/ + authServiceEndpoint: http://freeleaps-auth-service.68c0da88a0a7837e84b580eb-prod.svc.freeleaps.cluster:9000/api/v1/ rabbitmqPort: 5672 rabbitmqUsername: user rabbitmqVritualHost: / From 2e1a0f1bb953ce6045012cf33dcb2110278e38ae Mon Sep 17 00:00:00 2001 From: YuehuCao Date: Wed, 15 Oct 2025 10:54:16 +0800 Subject: [PATCH 2/2] feat: add auth service endpoint --- .../templates/authentication/authentication-config.yaml | 1 + freeleaps/helm-pkg/authentication/values.alpha.yaml | 1 + freeleaps/helm-pkg/authentication/values.yaml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml index b235a070..b92f9844 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/authentication-config.yaml @@ -10,6 +10,7 @@ data: APP_ENV: {{ .Values.authentication.configs.appEnv | b64enc | quote }} DEVSVC_WEBAPI_URL_BASE: {{ .Values.authentication.configs.devsvcWebapiUrlBase | b64enc | quote }} NOTIFICATION_WEBAPI_URL_BASE: {{ .Values.authentication.configs.notificationWebapiUrlBase | b64enc | quote }} + AUTH_SERVICE_ENDPOINT: {{ .Values.authentication.configs.authServiceEndpoint | 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 | toString | b64enc }} diff --git a/freeleaps/helm-pkg/authentication/values.alpha.yaml b/freeleaps/helm-pkg/authentication/values.alpha.yaml index 35a35f83..3fb54c0d 100644 --- a/freeleaps/helm-pkg/authentication/values.alpha.yaml +++ b/freeleaps/helm-pkg/authentication/values.alpha.yaml @@ -79,6 +79,7 @@ authentication: appEnv: alpha devsvcWebapiUrlBase: http://devsvc-service.freeleaps-alpha.svc.freeleaps.cluster:8007/api/devsvc/ notificationWebapiUrlBase: http://notification-service.freeleaps-alpha.svc.freeleaps.cluster:8003/api/notification/ + authServiceEndpoint: http://freeleaps-auth-service.68c0da88a0a7837e84b580eb-alpha.svc.freeleaps.cluster:9000/api/v1/ jwtAlgorithm: HS256 serviceApiAccessHost: 0.0.0.0 serviceApiAccessPort: 8004 diff --git a/freeleaps/helm-pkg/authentication/values.yaml b/freeleaps/helm-pkg/authentication/values.yaml index 41cdc1e5..a77b97d1 100644 --- a/freeleaps/helm-pkg/authentication/values.yaml +++ b/freeleaps/helm-pkg/authentication/values.yaml @@ -66,6 +66,8 @@ authentication: tz: "America/Settle" # APP_NAME appName: "authentication" + # AUTH_SERVICE_ENDPOINT + authServiceEndpoint: "" # DEVSVC_WEBAPI_URL_BASE devsvcWebapiUrlBase: "http://devsvc..svc.freeleaps.cluster:/api/devsvc" # NOTIFICATION_WEBAPI_URL_BASE