From 36db36a20de13aa8ec4e5c94c2613b814aba0f4a Mon Sep 17 00:00:00 2001 From: zhenyus Date: Fri, 28 Mar 2025 08:05:36 +0800 Subject: [PATCH] feat: add notification endpoint configurations for chat and freeleaps services Signed-off-by: zhenyus --- freeleaps/helm-pkg/chat/templates/chat/chat-config.yaml | 1 + freeleaps/helm-pkg/chat/values.alpha.yaml | 1 + freeleaps/helm-pkg/chat/values.prod.yaml | 1 + .../freeleaps/templates/freeleaps/freeleaps-config.yaml | 1 + freeleaps/helm-pkg/freeleaps/values.alpha.yaml | 1 + freeleaps/helm-pkg/freeleaps/values.prod.yaml | 1 + freeleaps/helm-pkg/freeleaps/values.yaml | 2 ++ 7 files changed, 8 insertions(+) diff --git a/freeleaps/helm-pkg/chat/templates/chat/chat-config.yaml b/freeleaps/helm-pkg/chat/templates/chat/chat-config.yaml index a8b932d5..b5c147a4 100644 --- a/freeleaps/helm-pkg/chat/templates/chat/chat-config.yaml +++ b/freeleaps/helm-pkg/chat/templates/chat/chat-config.yaml @@ -29,6 +29,7 @@ data: FREELEAPS_CHAT_ENDPOINT: {{ .Values.chat.configs.freeleapsChatEndpoint | b64enc | quote }} FREELEAPS_PAYMENT_ENDPOINT: {{ .Values.chat.configs.freeleapsPaymentEndpoint | b64enc | quote }} FREELEAPS_AILAB_ENDPOINT: {{ .Values.chat.configs.freeleapsAilabEndpoint | b64enc | quote }} + FREELEAPS_NOTIFICATION_ENDPOINT: {{ .Values.chat.configs.freeleapsNotificationEndpoint | b64enc | quote }} FREELEAPS_ENV: {{ .Values.chat.configs.freeleapsEnv | b64enc | quote }} CERT_PATH: {{ .Values.chat.configs.certPath | b64enc | quote }} REDIS_URL: {{ .Values.chat.configs.redisUrl | b64enc | quote }} diff --git a/freeleaps/helm-pkg/chat/values.alpha.yaml b/freeleaps/helm-pkg/chat/values.alpha.yaml index ebe8cf2c..2c796ae4 100644 --- a/freeleaps/helm-pkg/chat/values.alpha.yaml +++ b/freeleaps/helm-pkg/chat/values.alpha.yaml @@ -94,6 +94,7 @@ chat: freeleapsCentralStorageEndpoint: http://central-storage-service.freeleaps-alpha.svc.freeleaps.cluster:8005/api/central_storage/ freeleapsChatEndpoint: http://chat-service.freeleaps-alpha.svc.freeleaps.cluster:8012/api/chat/ freeleapsPaymentEndpoint: http://payment-service.freeleaps-alpha.svc.freeleaps.cluster:8006/api/payment/ + freeleapsNotificationEndpoint: http://notification-service.freeleaps-alpha.svc.freeleaps.cluster:8003/api/notification/ freeleapsAilabEndpoint: '' freeleapsEnv: alpha certPath: '' diff --git a/freeleaps/helm-pkg/chat/values.prod.yaml b/freeleaps/helm-pkg/chat/values.prod.yaml index b6a7d815..5998e86f 100644 --- a/freeleaps/helm-pkg/chat/values.prod.yaml +++ b/freeleaps/helm-pkg/chat/values.prod.yaml @@ -85,6 +85,7 @@ chat: freeleapsCentralStorageEndpoint: http://central-storage-service.freeleaps-prod.svc.freeleaps.cluster:8005/api/central_storage/ freeleapsChatEndpoint: http://chat-service.freeleaps-prod.svc.freeleaps.cluster:8012/api/chat/ freeleapsPaymentEndpoint: http://payment-service.freeleaps-prod.svc.freeleaps.cluster:8006/api/payment/ + freeleapsNotificationEndpoint: http://notification-service.freeleaps-prod.svc.freeleaps.cluster:8003/api/notification/ freeleapsAilabEndpoint: '' freeleapsEnv: chat certPath: '' diff --git a/freeleaps/helm-pkg/freeleaps/templates/freeleaps/freeleaps-config.yaml b/freeleaps/helm-pkg/freeleaps/templates/freeleaps/freeleaps-config.yaml index 8a1a43a7..2c6c0ef5 100644 --- a/freeleaps/helm-pkg/freeleaps/templates/freeleaps/freeleaps-config.yaml +++ b/freeleaps/helm-pkg/freeleaps/templates/freeleaps/freeleaps-config.yaml @@ -30,6 +30,7 @@ data: FREELEAPS_PAYMENT_ENDPOINT: {{ .Values.freeleaps.configs.freeleapsPaymentEndpoint | b64enc | quote }} FREELEAPS_AUTHENTICATION_ENDPOINT: {{ .Values.freeleaps.configs.freeleapsAuthenticationEndpoint | b64enc | quote }} FREELEAPS_AILAB_ENDPOINT: {{ .Values.freeleaps.configs.freeleapsAilabEndpoint | b64enc | quote }} + FREELEAPS_NOTIFICATION_ENDPOINT: {{ .Values.freeleaps.configs.freeleapsNotificationEndpoint | b64enc | quote }} FREELEAPS_ENV: {{ .Values.freeleaps.configs.freeleapsEnv | b64enc | quote }} CERT_PATH: {{ .Values.freeleaps.configs.certPath | b64enc | quote }} REDIS_URL: {{ .Values.freeleaps.configs.redisUrl | b64enc | quote }} diff --git a/freeleaps/helm-pkg/freeleaps/values.alpha.yaml b/freeleaps/helm-pkg/freeleaps/values.alpha.yaml index f732e1fb..5ea81cc8 100644 --- a/freeleaps/helm-pkg/freeleaps/values.alpha.yaml +++ b/freeleaps/helm-pkg/freeleaps/values.alpha.yaml @@ -74,6 +74,7 @@ freeleaps: freeleapsChatEndpoint: http://chat-service.freeleaps-alpha.svc.freeleaps.cluster:8012/api/chat/ freeleapsPaymentEndpoint: http://payment-service.freeleaps-alpha.svc.freeleaps.cluster:8006/api/payment/ freeleapsAuthenticationEndpoint: http://authentication-service.freeleaps-alpha.svc.freeleaps.cluster:8004/api/auth/ + freeleapsNotificationEndpoint: http://notification-service.freeleaps-alpha.svc.freeleaps.cluster:8003/api/notification/ freeleapsAilabEndpoint: '' freeleapsEnv: alpha certPath: '' diff --git a/freeleaps/helm-pkg/freeleaps/values.prod.yaml b/freeleaps/helm-pkg/freeleaps/values.prod.yaml index dc0633e2..b78db0b5 100644 --- a/freeleaps/helm-pkg/freeleaps/values.prod.yaml +++ b/freeleaps/helm-pkg/freeleaps/values.prod.yaml @@ -86,6 +86,7 @@ freeleaps: freeleapsChatEndpoint: http://chat-service.freeleaps-prod.svc.freeleaps.cluster:8012/api/chat/ freeleapsPaymentEndpoint: http://payment-service.freeleaps-prod.svc.freeleaps.cluster:8006/api/payment/ freeleapsAuthenticationEndpoint: http://authentication-service.freeleaps-prod.svc.freeleaps.cluster:8004/api/auth/ + freeleapsNotificationEndpoint: http://notification-service.freeleaps-prod.svc.freeleaps.cluster:8003/api/notification/ freeleapsAilabEndpoint: '' freeleapsEnv: alpha certPath: '' diff --git a/freeleaps/helm-pkg/freeleaps/values.yaml b/freeleaps/helm-pkg/freeleaps/values.yaml index f3ce468c..3534a190 100644 --- a/freeleaps/helm-pkg/freeleaps/values.yaml +++ b/freeleaps/helm-pkg/freeleaps/values.yaml @@ -91,6 +91,8 @@ freeleaps: freeleapsPaymentEndpoint: "" # FREELEAPS_AUTHENTICATION_ENDPOINT freeleapsAuthenticationEndpoint: "" + # FREELEAPS_NOTIFICATION_ENDPOINT + freeleapsNotificationEndpoint: "" # FREELEAPS_AILAB_ENDPOINT freeleapsAilabEndpoint: "" # FREELEAPS_ENV