freeleaps-ops/freeleaps/helm-pkg/content/values.yaml
2025-08-18 21:41:21 +08:00

98 lines
2.2 KiB
YAML

global:
registry: docker.io
repository: freeleaps
nodeSelector: {}
dashboard:
enabled: false
name: freeleaps-prod-content-dashboard
title: Content Service Dashboard
metricsPrefix: freeleaps_content
logIngest:
enabled: false
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
logPathPattern: /app/log/content/*.log
logPath: /app/log/content
content:
replicas: 1
image:
registry:
repository: freeleaps
name: content
tag: 1.0.0
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8013
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: content-service
type: ClusterIP
port: 8013
targetPort: 8013
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
# Defaults to {}, which means doesn't have any ingress
ingresses: {}
configs:
# TZ
tz: "America/Settle"
# APP_NAME
appName: "content"
# SERVICE_API_ACCESS_HOST
serviceApiAccessHost: "0.0.0.0"
# SERVICE_API_ACCESS_PORT
serviceApiAccessPort: "8013"
# MONGODB_NAME
mongodbName: ""
# MONGODB_PORT
mongodbPort: "27017"
# CENTRAL_STORAGE_WEBAPI_URL_BASE
centralStorageWebapiUrlBase: ""
# METRICS_ENABLED
metricsEnabled: "false"
# PROBES_ENABLED
probesEnabled: "false"
# AKV secrets configuration
secrets:
secretStoreRef:
kind: FreeleapsSecretStore
name: freeleaps-main-secret-store
target:
name: "freeleaps-content-secrets"
creationPolicy: "Owner"
refreshInterval: 30s
data:
- key: mongodbUri
remoteRef:
key: "freeleaps-mongodb-uri"
type: Secret
- key: freeleapsWwwAsAzureClientSecret
remoteRef:
key: "freeleaps-www-as-azure-client-secret"
type: Secret
vpa:
minAllowed:
enabled: false
cpu: "0.5"
memory: "512Mi"
maxAllowed:
enabled: true
cpu: "1"
memory: "1Gi"
controlledResources:
- cpu
- memory