Merge pull request 'fix(auth): modify the auth endpoint' (#122) from tania_local into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/122
This commit is contained in:
tania 2025-10-16 09:44:15 +00:00
commit e11ca58b6c
4 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,7 @@ data:
APP_ENV: {{ .Values.authentication.configs.appEnv | b64enc | quote }} APP_ENV: {{ .Values.authentication.configs.appEnv | b64enc | quote }}
DEVSVC_WEBAPI_URL_BASE: {{ .Values.authentication.configs.devsvcWebapiUrlBase | b64enc | quote }} DEVSVC_WEBAPI_URL_BASE: {{ .Values.authentication.configs.devsvcWebapiUrlBase | b64enc | quote }}
NOTIFICATION_WEBAPI_URL_BASE: {{ .Values.authentication.configs.notificationWebapiUrlBase | 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 }} JWT_ALGORITHM: {{ .Values.authentication.configs.jwtAlgorithm | b64enc | quote }}
SERVICE_API_ACCESS_HOST: {{ .Values.authentication.configs.serviceApiAccessHost | b64enc | quote }} SERVICE_API_ACCESS_HOST: {{ .Values.authentication.configs.serviceApiAccessHost | b64enc | quote }}
SERVICE_API_ACCESS_PORT: {{ .Values.authentication.configs.serviceApiAccessPort | toString | b64enc }} SERVICE_API_ACCESS_PORT: {{ .Values.authentication.configs.serviceApiAccessPort | toString | b64enc }}

View File

@ -79,6 +79,7 @@ authentication:
appEnv: alpha appEnv: alpha
devsvcWebapiUrlBase: http://devsvc-service.freeleaps-alpha.svc.freeleaps.cluster:8007/api/devsvc/ devsvcWebapiUrlBase: http://devsvc-service.freeleaps-alpha.svc.freeleaps.cluster:8007/api/devsvc/
notificationWebapiUrlBase: http://notification-service.freeleaps-alpha.svc.freeleaps.cluster:8003/api/notification/ 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 jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0 serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8004 serviceApiAccessPort: 8004

View File

@ -66,6 +66,8 @@ authentication:
tz: "America/Settle" tz: "America/Settle"
# APP_NAME # APP_NAME
appName: "authentication" appName: "authentication"
# AUTH_SERVICE_ENDPOINT
authServiceEndpoint: ""
# DEVSVC_WEBAPI_URL_BASE # DEVSVC_WEBAPI_URL_BASE
devsvcWebapiUrlBase: "http://devsvc.<namespace>.svc.freeleaps.cluster:<service-port>/api/devsvc" devsvcWebapiUrlBase: "http://devsvc.<namespace>.svc.freeleaps.cluster:<service-port>/api/devsvc"
# NOTIFICATION_WEBAPI_URL_BASE # NOTIFICATION_WEBAPI_URL_BASE

View File

@ -75,7 +75,7 @@ notification:
mongodbName: freeleaps2 mongodbName: freeleaps2
mongodbPort: 27017 mongodbPort: 27017
rabbitmqHost: freeleaps-prod-rabbitmq-headless.freeleaps-prod.svc.freeleaps.cluster 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 rabbitmqPort: 5672
rabbitmqUsername: user rabbitmqUsername: user
rabbitmqVritualHost: / rabbitmqVritualHost: /