Commit Graph

22 Commits

Author SHA1 Message Date
Nicolas
86f989e405 The production environment of the authentication service also fully supports AKV. 2025-08-18 17:44:17 +08:00
zhenyus
05aa22215e refactor(authentication): streamline secret reference assignment in deployment.yaml
- Introduced a variable for the target secret name to improve readability and maintainability of the secret injection logic.
- This change enhances the clarity of the deployment configuration for the authentication module.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 15:29:00 +08:00
zhenyus
e34a57bef5 refactor(authentication): update secret references in deployment and FreeleapsSecret templates
- Changed references from .Values.secrets to .Values.authentication.secrets in deployment.yaml and freeleapssecret.yaml to align with the new secret management structure.
- This update enhances the clarity and organization of secret management within the authentication module.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 15:27:26 +08:00
zhenyus
4da0d64995 feat(authentication): integrate secret management for JWT and MongoDB URI
- Added a secrets section in values.alpha.yaml to reference JWT secret key and MongoDB URI from a FreeleapsSecretStore.
- Updated deployment.yaml to inject these secrets as environment variables, enhancing security and configuration management.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 15:25:48 +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
e60016366e fix: correct indentation for OpenTelemetry config checksum annotation in deployment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:26:19 +08:00
zhenyus
d7c952fe2e fix: add missing annotations for OpenTelemetry configuration in deployment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:25:09 +08:00
zhenyus
a8a0251f4e feat: add OpenTelemetry config checksum to deployment annotations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:01:35 +08:00
zhenyus
8281c6eef7 feat: add volume mounts for log ingestion in OpenTelemetry and deployment configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:35:51 +08:00
zhenyus
a01184310d fix: move serviceAccountName configuration under spec section in deployment.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:32:01 +08:00
zhenyus
494ae78d5f fix: move serviceAccountName configuration under containers section in deployment.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:30:13 +08:00
zhenyus
0653829a07 fix: add serviceAccountName for OpenTelemetry collector in deployment configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:27:49 +08:00
zhenyus
b8af384f68 fix: update OpenTelemetry sidecar injection annotation for dynamic configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:53:43 +08:00
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
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
b8c70448a3 feat(helm): add new Helm charts for content and central-storage services, update authentication values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-21 17:59:08 +08:00