freeleaps-ops/freeleaps/helm-pkg/authentication/values.yaml
zhenyus a0d88d9507 Add OpenTelemetry Collector configuration for log ingestion
- Introduced a new OpenTelemetryCollector resource in the Helm chart.
- Configured filelog receiver to ingest logs based on specified patterns.
- Added processors for Kubernetes attributes and resource metadata.
- Set up Loki exporter for log forwarding with appropriate labels.
- Configured logging verbosity and defined log processing pipelines.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:45:40 +08:00

85 lines
2.1 KiB
YAML

global:
registry: docker.io
repository: freeleaps
nodeSelector: {}
dashboard:
enabled: false
name: freeleaps-prod-authentication-dashboard
title: Authentication Service Dashboard
metricsPrefix: freeleaps_authentication
logIngest:
enabled: false
lokiEndpoint: http://loki-gateway.freeleaps-logging-system/loki/api/v1/push
logPathPattern: /app/log/authentication/*.log
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
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
serviceMonitor:
enabled: false
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
interval: 30s
scrapeTimeout: ""
# 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_SECRET_KEY
jwtSecretKey: ""
# JWT_ALGORITHM
jwtAlgorithm: "HS256"
# MONGODB_NAME
mongodbName: ""
# MONGODB_PORT
mongodbPort: "27017"
# MONGODB_URI
mongodbUri: ""
# METRICS_ENABLED
metricsEnabled: "false"
# PROBES_ENABLED
probesEnabled: "false"