2025-02-20 09:28:45 +00:00
|
|
|
global:
|
|
|
|
|
registry: docker.io
|
|
|
|
|
repository: freeleaps
|
|
|
|
|
nodeSelector: {}
|
2025-03-17 16:10:36 +00:00
|
|
|
dashboard:
|
|
|
|
|
enabled: false
|
|
|
|
|
name: freeleaps-prod-authentication-dashboard
|
|
|
|
|
title: Authentication Service Dashboard
|
|
|
|
|
metricsPrefix: freeleaps_authentication
|
2025-04-15 21:45:40 +00:00
|
|
|
logIngest:
|
|
|
|
|
enabled: false
|
2025-04-21 14:34:09 +00:00
|
|
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
2025-04-15 21:45:40 +00:00
|
|
|
logPathPattern: /app/log/authentication/*.log
|
2025-04-15 22:35:51 +00:00
|
|
|
logPath: /app/log/authentication
|
2025-04-15 16:18:16 +00:00
|
|
|
fluentbit:
|
|
|
|
|
enabled: false
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: 50m
|
|
|
|
|
memory: 128Mi
|
|
|
|
|
limits:
|
|
|
|
|
cpu: 200m
|
|
|
|
|
memory: 512Mi
|
|
|
|
|
image: kubesphere/fluent-bit:v4.0-debug
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
timeKey: record.repr
|
|
|
|
|
timeFormat: "%Y-%m-%dT%H:%M:%S.%LZ"
|
|
|
|
|
logPath: /app/log/authentication/*.log
|
2025-02-20 09:28:45 +00:00
|
|
|
authentication:
|
|
|
|
|
replicas: 1
|
|
|
|
|
image:
|
|
|
|
|
registry:
|
|
|
|
|
repository: freeleaps
|
|
|
|
|
name: authentication
|
|
|
|
|
tag: 1.0.0
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 8004
|
|
|
|
|
protocol: TCP
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: "0.5"
|
|
|
|
|
memory: "512Mi"
|
|
|
|
|
limits:
|
|
|
|
|
cpu: "1"
|
|
|
|
|
memory: "1Gi"
|
|
|
|
|
# FIXME: Wait until the developers implements the probes APIs
|
|
|
|
|
probes: {}
|
|
|
|
|
services:
|
|
|
|
|
- name: authentication-service
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
port: 8004
|
|
|
|
|
targetPort: 8004
|
2025-03-17 15:40:13 +00:00
|
|
|
serviceMonitor:
|
|
|
|
|
enabled: false
|
|
|
|
|
labels:
|
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
namespace: freeleaps-monitoring-system
|
|
|
|
|
interval: 30s
|
|
|
|
|
scrapeTimeout: ""
|
2025-02-20 09:28:45 +00:00
|
|
|
# Defaults to {}, which means doesn't have any ingress
|
|
|
|
|
ingresses: {}
|
|
|
|
|
configs:
|
|
|
|
|
# TZ
|
|
|
|
|
tz: "America/Settle"
|
|
|
|
|
# APP_NAME
|
|
|
|
|
appName: "authentication"
|
|
|
|
|
# DEVSVC_WEBAPI_URL_BASE
|
|
|
|
|
devsvcWebapiUrlBase: "http://devsvc.<namespace>.svc.freeleaps.cluster:<service-port>/api/devsvc"
|
|
|
|
|
# NOTIFICATION_WEBAPI_URL_BASE
|
|
|
|
|
notificationWebapiUrlBase: "http://notification.svc.<namespace>.freeleaps.cluster:<service-port>/api/notification"
|
|
|
|
|
# JWT_ALGORITHM
|
|
|
|
|
jwtAlgorithm: "HS256"
|
|
|
|
|
# MONGODB_NAME
|
|
|
|
|
mongodbName: ""
|
|
|
|
|
# MONGODB_PORT
|
|
|
|
|
mongodbPort: "27017"
|
2025-03-17 15:51:35 +00:00
|
|
|
# METRICS_ENABLED
|
|
|
|
|
metricsEnabled: "false"
|
|
|
|
|
# PROBES_ENABLED
|
2025-06-10 08:00:52 +00:00
|
|
|
probesEnabled: "false"
|
2025-08-18 09:44:17 +00:00
|
|
|
# AKV secrets configuration
|
|
|
|
|
secrets:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: FreeleapsSecretStore
|
|
|
|
|
name: freeleaps-main-secret-store
|
|
|
|
|
target:
|
|
|
|
|
name: "freeleaps-authentication-secrets"
|
|
|
|
|
creationPolicy: "Owner"
|
|
|
|
|
refreshInterval: 30s
|
|
|
|
|
data:
|
|
|
|
|
- key: jwtSecretKey
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-jwt-secret-key"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: mongodbUri
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-mongodb-uri"
|
|
|
|
|
type: Secret
|
2025-06-10 08:00:52 +00:00
|
|
|
vpa:
|
|
|
|
|
minAllowed:
|
|
|
|
|
enabled: false
|
|
|
|
|
cpu: 100m
|
|
|
|
|
memory: 64Mi
|
|
|
|
|
maxAllowed:
|
|
|
|
|
enabled: true
|
|
|
|
|
cpu: 100m
|
|
|
|
|
memory: 256Mi
|
|
|
|
|
controlledResources:
|
|
|
|
|
- cpu
|
|
|
|
|
- memory
|