feat(authentication): add SERVICE_API_ACCESS_HOST and SERVICE_API_ACCESS_PORT to configuration files

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-02-22 21:24:43 +08:00
parent 13c2e8cb7e
commit 50afb3fc40
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,8 @@ data:
NOTIFICATION_WEBAPI_URL_BASE: {{ .Values.authentication.configs.notificationWebapiUrlBase | b64enc | quote }}
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 | b64enc }}
MONGODB_NAME: {{ .Values.authentication.configs.mongodbName | b64enc | quote }}
MONGODB_PORT: {{ .Values.authentication.configs.mongodbPort | b64enc }}
MONGODB_URI: {{ .Values.authentication.configs.mongodbUri | b64enc | quote }}

View File

@ -52,6 +52,8 @@ authentication:
notificationWebapiUrlBase: http://notification.svc.freeleaps-alpha.freeleaps.cluster:8003/api/notification
jwtSecretKey: 8f87ca8c3c9c3df09a9c78e0adb0927855568f6072d9efc892534aee35f5867b
jwtAlgorithm: HS256
serviceApiAccessHost: '0.0.0.0'
serviceApiAccessPort: 8004
mongodbName: freeleaps2
mongodbPort: '27017'
mongodbPort: 27017
mongodbUri: mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/