Commit Graph

14 Commits

Author SHA1 Message Date
Nicolas
cd9f42e143 Changed the secret configuration of central storage 2025-08-18 17:38:47 +08:00
Nicolas
69a2c112d1 feat(centralStorage): migrate alpha environment to use Azure Key Vault for sensitive data
- Add FreeleapsSecret configuration for Azure Key Vault integration
- Move sensitive data (mongodbUri, azureStorageDocumentApiKey, azureStorageDocumentApiEndpoint) from config to secrets
- Update deployment template to read from both config and FreeleapsSecret
- Comment out sensitive fields in central-storage-config.yaml
- Create freeleapssecret.yaml template for secret management
2025-08-18 16:24:11 +08:00
Nicolas
da7e43547f fix: use hasKey to safely check for logIngest.persistence existence 2025-07-31 10:21:50 +08:00
Nicolas
85fa39f8e2 fix: add default values for logIngest.persistence to prevent nil pointer errors 2025-07-31 10:18:47 +08:00
Nicolas
7a7fcf1398 fix: optimize central storage logging configuration to resolve hourly log bursts
- Change start_at from beginning to end to avoid historical log duplication
- Add poll_interval: 1s for real-time file monitoring
- Optimize batch processing: send_batch_size: 1, timeout: 1s
- Add PVC template for log persistence to reduce log loss risk
- Update deployment to support persistent volume for logs
2025-07-31 10:14:55 +08:00
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
zhenyus
b3ad25d6e5 fix: update config file paths in config-checksum annotations for deployment templates
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:51:41 +08:00
zhenyus
df2ab1c3a4 fix: correct config file path in config-checksum annotations for deployment templates
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:50:08 +08:00
zhenyus
580f3f8d71 feat: add config checksum annotations to deployment templates and update site URL in values files
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:48:25 +08:00
zhenyus
e8a07a08e6 feat: add metricsEnabled and probesEnabled configuration options to payment, content, centralStorage, authentication, and notification services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:51:35 +08:00
zhenyus
368c726b0b feat: add METRICS_ENABLED and PROBES_ENABLED environment variables to deployment configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 22:37:27 +08:00
zhenyus
bb30b8ae7c fix: remove terminationGracePeriodSeconds from readiness probe configurations in authentication, centralStorage, content, notification, and payment services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:40:03 +08:00
zhenyus
2969cafc9d feat: add serviceMonitor configuration for content, payment, notification, central-storage, and authentication services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:24:35 +08:00
zhenyus
2c00823bd7 feat(helm): add central-storage Helm chart and related configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 01:30:23 +08:00