This commit is contained in:
zhenyus 2025-02-22 20:33:29 +08:00
commit 178c4738f7
3 changed files with 124 additions and 160 deletions

View File

@ -5,68 +5,55 @@ global:
authentication: authentication:
replicas: 1 replicas: 1
image: image:
registry: registry: docker.io
repository: freeleaps repository: null
name: authentication name: authentication
tag: 1.0.0 tag: snapshot-0a7c742
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 8004 containerPort: 8004
protocol: TCP protocol: TCP
resources: resources:
requests: requests:
cpu: "0.5" cpu: '0.5'
memory: "512Mi" memory: 512Mi
limits: limits:
cpu: "1" cpu: '1'
memory: "1Gi" memory: 1Gi
# FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
services: services:
- name: authentication-service - name: authentication-service
type: ClusterIP type: ClusterIP
port: 8004 port: 8004
targetPort: 8004 targetPort: 8004
# Defaults to {}, which means doesn't have any ingress
ingresses: ingresses:
- name: authentication-ingress - name: authentication-ingress
host: alpha.authentication.freeleaps.mathmast.com host: alpha.authentication.freeleaps.mathmast.com
class: nginx class: nginx
rules: rules:
- path: "/*" - path: /*
pathType: ImplementationSpecific pathType: ImplementationSpecific
backend: backend:
service: service:
name: authentication-service name: authentication-service
port: port:
number: 8004 number: 8004
tls: tls:
exists: false exists: false
issuerRef: issuerRef:
name: mathmast-dot-com name: mathmast-dot-com
kind: ClusterIssuer kind: ClusterIssuer
name: alpha.authentication.freeleaps.mathmast.com-cert name: alpha.authentication.freeleaps.mathmast.com-cert
configs: configs:
# TZ tz: America/Settle
tz: "America/Settle" appName: authentication
# APP_NAME devsvcWebapiUrlBase: http://devsvc.freeleaps-alpha.svc.freeleaps.cluster:8007/api/devsvc
appName: "authentication" notificationWebapiUrlBase: http://notification.svc.freeleaps-alpha.freeleaps.cluster:8003/api/notification
# DEVSVC_WEBAPI_URL_BASE jwtSecretKey: 8f87ca8c3c9c3df09a9c78e0adb0927855568f6072d9efc892534aee35f5867b
devsvcWebapiUrlBase: "http://devsvc.freeleaps-alpha.svc.freeleaps.cluster:8007/api/devsvc" jwtAlgorithm: HS256
# NOTIFICATION_WEBAPI_URL_BASE serviceApiAccessHost: 0.0.0.0
notificationWebapiUrlBase: "http://notification.svc.freeleaps-alpha.freeleaps.cluster:8003/api/notification" serviceApiAccessPort: '8004'
# JWT_SECRET_KEY mongodbName: freeleaps2
jwtSecretKey: "8f87ca8c3c9c3df09a9c78e0adb0927855568f6072d9efc892534aee35f5867b" mongodbPort: '27017'
# JWT_ALGORITHM mongodbUri: mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/
jwtAlgorithm: "HS256"
# SERVICE_API_ACCESS_HOST
serviceApiAccessHost: "0.0.0.0"
# SERVICE_API_ACCESS_PORT
serviceApiAccessPort: "8004"
# MONGODB_NAME
mongodbName: "freeleaps2"
# MONGODB_PORT
mongodbPort: "27017"
# MONGODB_URI
mongodbUri: "mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/"

View File

@ -5,64 +5,53 @@ global:
central-storage: central-storage:
replicas: 1 replicas: 1
image: image:
registry: registry: docker.io
repository: freeleaps repository: null
name: central_storage name: central_storage
tag: 1.0.0 tag: snapshot-0a7c742
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 8005 containerPort: 8005
protocol: TCP protocol: TCP
resources: resources:
requests: requests:
cpu: "0.5" cpu: '0.5'
memory: "512Mi" memory: 512Mi
limits: limits:
cpu: "1" cpu: '1'
memory: "1Gi" memory: 1Gi
# FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
services: services:
- name: central-storage-service - name: central-storage-service
type: ClusterIP type: ClusterIP
port: 8005 port: 8005
targetPort: 8005 targetPort: 8005
# Defaults to {}, which means doesn't have any ingress ingresses:
ingresses: - name: central-storage-ingress
- name: central-storage-ingress host: alpha.central-storage.freeleaps.mathmast.com
host: alpha.central-storage.freeleaps.mathmast.com class: nginx
class: nginx rules:
rules: - path: /*
- path: "/*" pathType: ImplementationSpecific
pathType: ImplementationSpecific backend:
backend: service:
service: name: central-storage-service
name: central-storage-service port:
port: number: 8005
number: 8005 tls:
tls: exists: false
exists: false issuerRef:
issuerRef: name: mathmast-dot-com
name: mathmast-dot-com kind: ClusterIssuer
kind: ClusterIssuer name: alpha.central-storage.freeleaps.mathmast.com-cert
name: alpha.central-storage.freeleaps.mathmast.com-cert
configs: configs:
# TZ tz: America/Settle
tz: "America/Settle" appName: central_storage
# APP_NAME serviceApiAccessHost: 0.0.0.0
appName: "central_storage" serviceApiAccessPort: '8005'
# SERVICE_API_ACCESS_HOST mongodbName: freeleaps2
serviceApiAccessHost: "0.0.0.0" mongodbPort: '27017'
# SERVICE_API_ACCESS_PORT mongodbUri: mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/
serviceApiAccessPort: "8005" azureStorageDocumentApiKey: xbiFtFeQ6v5dozgVM99fZ9huUomL7QcLu6s0y8zYHtIXZ8XdneKDMcg4liQr/9oNlVoRFcZhWjLY+ASt9cjICQ==
# MONGODB_NAME azureStorageDocumentApiEndpoint: https://freeleaps1document.blob.core.windows.net/
mongodbName: "freeleaps2"
# MONGODB_PORT
mongodbPort: "27017"
# MONGODB_URI
mongodbUri: "mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/"
# AZURE_STORAGE_DOCUMENT_API_KEY
azureStorageDocumentApiKey: "xbiFtFeQ6v5dozgVM99fZ9huUomL7QcLu6s0y8zYHtIXZ8XdneKDMcg4liQr/9oNlVoRFcZhWjLY+ASt9cjICQ=="
# AZURE_STORAGE_DOCUMENT_API_ENDPOINT
azureStorageDocumentApiEndpoint: "https://freeleaps1document.blob.core.windows.net/"

View File

@ -5,65 +5,53 @@ global:
content: content:
replicas: 1 replicas: 1
image: image:
registry: registry: docker.io
repository: freeleaps repository: null
name: content name: content
tag: 1.0.0 tag: snapshot-0a7c742
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 8013 containerPort: 8013
protocol: TCP protocol: TCP
resources: resources:
requests: requests:
cpu: "0.5" cpu: '0.5'
memory: "512Mi" memory: 512Mi
limits: limits:
cpu: "1" cpu: '1'
memory: "1Gi" memory: 1Gi
# FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
services: services:
- name: content-service - name: content-service
type: ClusterIP type: ClusterIP
port: 8013 port: 8013
targetPort: 8013 targetPort: 8013
# Defaults to {}, which means doesn't have any ingress ingresses:
ingresses: - name: content-ingress
- name: content-ingress host: alpha.content.freeleaps.mathmast.com
host: alpha.content.freeleaps.mathmast.com class: nginx
class: nginx rules:
rules: - path: /*
- path: "/*" pathType: ImplementationSpecific
pathType: ImplementationSpecific backend:
backend: service:
service: name: content-service
name: content-service port:
port: number: 8013
number: 8013 tls:
tls: exists: false
exists: false issuerRef:
issuerRef: name: mathmast-dot-com
name: mathmast-dot-com kind: ClusterIssuer
kind: ClusterIssuer name: alpha.content.freeleaps.mathmast.com-cert
name: alpha.content.freeleaps.mathmast.com-cert
configs: configs:
# TZ tz: America/Settle
tz: "America/Settle" appName: content
# APP_NAME serviceApiAccessHost: 0.0.0.0
appName: "content" serviceApiAccessPort: '8013'
# SERVICE_API_ACCESS_HOST mongodbName: freeleaps2
serviceApiAccessHost: "0.0.0.0" mongodbPort: '27017'
# SERVICE_API_ACCESS_PORT mongodbUri: mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/
serviceApiAccessPort: "8013" freeleapsWwwAsAzureClientSecret: jTu8Q~WceiK-5dfZB44Ww-K4fVGi3_5tHNWYYbdX
# MONGODB_NAME centralStorageWebapiUrlBase: http://central-storage-service.freeleaps-alpha.svc.freeleaps.cluster:8005/api/central_storage
mongodbName: "freeleaps2"
# MONGODB_PORT
mongodbPort: "27017"
# MONGODB_URI
mongodbUri: "mongodb://freeleaps-alpha-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/"
# FREELEAPS_WWW_AS_AZURE_CLIENT_SECRET
freeleapsWwwAsAzureClientSecret: "jTu8Q~WceiK-5dfZB44Ww-K4fVGi3_5tHNWYYbdX"
# CENTRAL_STORAGE_WEBAPI_URL_BASE
centralStorageWebapiUrlBase: "http://central-storage-service.freeleaps-alpha.svc.freeleaps.cluster:8005/api/central_storage"