From 2493592bb76440932d6aa83b5486d5e001d36147 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Thu, 6 Mar 2025 15:11:35 +0800 Subject: [PATCH] feat(helm): add production values for authentication, central storage, notification, payment, and content services Signed-off-by: zhenyus --- .../helm-pkg/authentication/values.prod.yaml | 42 +++++++++++++++++ .../helm-pkg/central-storage/values.prod.yaml | 40 ++++++++++++++++ freeleaps/helm-pkg/content/values.prod.yaml | 40 ++++++++++++++++ .../helm-pkg/notification/values.prod.yaml | 47 +++++++++++++++++++ freeleaps/helm-pkg/payment/values.prod.yaml | 39 +++++++++++++++ 5 files changed, 208 insertions(+) create mode 100644 freeleaps/helm-pkg/content/values.prod.yaml diff --git a/freeleaps/helm-pkg/authentication/values.prod.yaml b/freeleaps/helm-pkg/authentication/values.prod.yaml index e69de29b..88cfd2fa 100644 --- a/freeleaps/helm-pkg/authentication/values.prod.yaml +++ b/freeleaps/helm-pkg/authentication/values.prod.yaml @@ -0,0 +1,42 @@ +global: + registry: docker.io + repository: freeleaps + nodeSelector: {} +authentication: + replicas: 1 + image: + registry: docker.io + repository: null + name: authentication + tag: latest + imagePullPolicy: IfNotPresent + ports: + - name: http + containerPort: 8004 + protocol: TCP + resources: + requests: + cpu: '100m' + memory: 128Mi + limits: + cpu: '200m' + memory: 256Mi + probes: {} + services: + - name: authentication-service + type: ClusterIP + port: 8004 + targetPort: 8004 + ingresses: {} + configs: + tz: UTC + appName: authentication + devsvcWebapiUrlBase: http://devsvc-service.freeleaps-prod.svc.freeleaps.cluster:8007/api/devsvc/ + notificationWebapiUrlBase: http://notification-service.freeleaps-prod.svc.freeleaps.cluster:8003/api/notification/ + jwtSecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0 + jwtAlgorithm: HS256 + serviceApiAccessHost: 0.0.0.0 + serviceApiAccessPort: 8004 + mongodbName: freeleaps2 + mongodbPort: 27017 + mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority diff --git a/freeleaps/helm-pkg/central-storage/values.prod.yaml b/freeleaps/helm-pkg/central-storage/values.prod.yaml index e69de29b..162e11ad 100644 --- a/freeleaps/helm-pkg/central-storage/values.prod.yaml +++ b/freeleaps/helm-pkg/central-storage/values.prod.yaml @@ -0,0 +1,40 @@ +global: + registry: docker.io + repository: freeleaps + nodeSelector: {} +centralStorage: + replicas: 1 + image: + registry: docker.io + repository: null + name: central_storage + tag: latest + imagePullPolicy: IfNotPresent + ports: + - name: http + containerPort: 8005 + protocol: TCP + resources: + requests: + cpu: '100m' + memory: 128Mi + limits: + cpu: '200m' + memory: 256Mi + probes: {} + services: + - name: central-storage-service + type: ClusterIP + port: 8005 + targetPort: 8005 + ingresses: {} + configs: + tz: UTC + appName: central_storage + serviceApiAccessHost: 0.0.0.0 + serviceApiAccessPort: 8005 + mongodbName: freeleaps2 + mongodbPort: 27017 + mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority + azureStorageDocumentApiKey: xbiFtFeQ6v5dozgVM99fZ9huUomL7QcLu6s0y8zYHtIXZ8XdneKDMcg4liQr/9oNlVoRFcZhWjLY+ASt9cjICQ== + azureStorageDocumentApiEndpoint: https://freeleaps1document.blob.core.windows.net/ diff --git a/freeleaps/helm-pkg/content/values.prod.yaml b/freeleaps/helm-pkg/content/values.prod.yaml new file mode 100644 index 00000000..e6e6cfd3 --- /dev/null +++ b/freeleaps/helm-pkg/content/values.prod.yaml @@ -0,0 +1,40 @@ +global: + registry: docker.io + repository: freeleaps + nodeSelector: {} +content: + replicas: 1 + image: + registry: docker.io + repository: null + name: content + tag: latest + imagePullPolicy: IfNotPresent + ports: + - name: http + containerPort: 8013 + protocol: TCP + resources: + requests: + cpu: '100m' + memory: 128Mi + limits: + cpu: '200m' + memory: 256Mi + probes: {} + services: + - name: content-service + type: ClusterIP + port: 8013 + targetPort: 8013 + ingresses: {} + configs: + tz: UTC + appName: content + serviceApiAccessHost: 0.0.0.0 + serviceApiAccessPort: 8013 + mongodbName: freeleaps2 + mongodbPort: 27017 + mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority + freeleapsWwwAsAzureClientSecret: jTu8Q~WceiK-5dfZB44Ww-K4fVGi3_5tHNWYYbdX + centralStorageWebapiUrlBase: http://central-storage-service.freeleaps-prod.svc.freeleaps.cluster:8005/api/central_storage diff --git a/freeleaps/helm-pkg/notification/values.prod.yaml b/freeleaps/helm-pkg/notification/values.prod.yaml index e69de29b..950ffb1c 100644 --- a/freeleaps/helm-pkg/notification/values.prod.yaml +++ b/freeleaps/helm-pkg/notification/values.prod.yaml @@ -0,0 +1,47 @@ +global: + registry: docker.io + repository: freeleaps + nodeSelector: {} +notification: + replicas: 1 + image: + registry: docker.io + repository: null + name: notification + tag: latest + imagePullPolicy: IfNotPresent + ports: + - name: http + containerPort: 8003 + protocol: TCP + resources: + requests: + cpu: '100m' + memory: 128Mi + limits: + cpu: '200m' + memory: 256Mi + probes: {} + services: + - name: notification-service + type: ClusterIP + port: 8003 + targetPort: 8003 + ingresses: {} + configs: + tz: UTC + appName: notification + serviceApiAccessHost: 0.0.0.0 + serviceApiAccessPort: 8003 + rabbitmqHost: freeleaps-prod-rabbitmq-headless.freeleaps-prod.svc.freeleaps.cluster + rabbitmqPort: 5672 + rabbitmqUsername: user + rabbitmqPassword: D3b0HKz71T0OcYF8 + rabbitmqVritualHost: / + systemUserId: 117f191e810c19729de860aa + smsFrom: '+16898887156' + emailFrom: freeleaps@freeleaps.com + secretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0 + sendgridApiKey: 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 + twilioAccountSid: ACf8c9283a6acda060258eadb29be58bc8 + twilioAuthToken: ef160748cc22c8b7195b49df4b8eca7e diff --git a/freeleaps/helm-pkg/payment/values.prod.yaml b/freeleaps/helm-pkg/payment/values.prod.yaml index e69de29b..84925e47 100644 --- a/freeleaps/helm-pkg/payment/values.prod.yaml +++ b/freeleaps/helm-pkg/payment/values.prod.yaml @@ -0,0 +1,39 @@ +global: + registry: docker.io + repository: freeleaps + nodeSelector: {} +payment: + replicas: 1 + image: + registry: docker.io + repository: null + name: payment + tag: latest + imagePullPolicy: IfNotPresent + ports: + - name: http + containerPort: 8006 + protocol: TCP + resources: + requests: + cpu: '100m' + memory: 128Mi + limits: + cpu: '200m' + memory: 256Mi + probes: {} + services: + - name: payment-service + type: ClusterIP + port: 8006 + targetPort: 8006 + ingresses: {} + configs: + tz: UTC + appName: payment + serviceApiAccessHost: 0.0.0.0 + serviceApiAccessPort: 8006 + mongodbName: freeleaps2 + mongodbPort: 27017 + mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority + stripeApiKey: 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