feat(helm): add production values for authentication, central storage, notification, payment, and content services

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-06 15:11:35 +08:00
parent 032def7e36
commit 2493592bb7
5 changed files with 208 additions and 0 deletions

View File

@ -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

View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -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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