freeleaps-ops/freeleaps/helm-pkg/payment/values.yaml
zhenyus 6d9d15d4d2 Add OpenTelemetry logging support across multiple services
- Introduced log ingestion configuration in values files for centralStorage, content, notification, and payment services.
- Updated deployment templates to conditionally include OpenTelemetry annotations and volume mounts based on log ingestion settings.
- Added OpenTelemetry RBAC configurations for service accounts and cluster roles to enable logging.
- Implemented OpenTelemetry collector configuration to process logs and export them to Loki.
- Ensured compatibility with existing Helm chart structure and maintained backward compatibility for services without log ingestion enabled.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 22:03:00 +08:00

72 lines
1.6 KiB
YAML

global:
registry: docker.io
repository: freeleaps
nodeSelector: {}
dashboard:
enabled: false
name: freeleaps-prod-payment-dashboard
title: Payment Service Dashboard
metricsPrefix: freeleaps_payment
logIngest:
enabled: false
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
logPathPattern: /app/log/payment/*.log
logPath: /app/log/payment
payment:
replicas: 1
image:
registry:
repository: freeleaps
name: payment
tag: 1.0.0
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8006
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: payment-service
type: ClusterIP
port: 8006
targetPort: 8006
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: "payment"
# SERVICE_API_ACCESS_HOST
serviceApiAccessHost: "0.0.0.0"
# SERVICE_API_ACCESS_PORT
serviceApiAccessPort: "8006"
# MONGODB_NAME
mongodbName: ""
# MONGODB_PORT
mongodbPort: "27017"
# MONGODB_URI
mongodbUri: ""
# STRIPE_API_KEY
stripeApiKey: ""
# SITE_URL_ROOT
siteUrlRoot: ""
# METRICS_ENABLED
metricsEnabled: "false"
# PROBES_ENABLED
probesEnabled: "false"