Commit Graph

187 Commits

Author SHA1 Message Date
freeleaps-gitops-bot
c48d515ab4 ci(bump): bump authentication image version for prod to snapshot-4a5bdb4 2025-09-18 04:24:23 +00:00
freeleaps-gitops-bot
57e94ac04d ci(bump): bump authentication image version for prod to snapshot-046f9ff 2025-09-05 02:08:11 +00:00
1f993da23e revert e76da4ea18
revert Remove all such cert usage(across all services) if service is already deployed in k8s
2025-08-29 03:53:51 +00:00
Nicolas
e76da4ea18 Remove all such cert usage(across all services) if service is already deployed in k8s 2025-08-29 10:03:35 +08:00
freeleaps-gitops-bot
cdbfce6f56 ci(bump): bump authentication image version for alpha to snapshot-c406f6d 2025-08-26 03:51:45 +00:00
zhenyus
b7908d1692 Refactor configuration files to remove unused fields and add AKV secret management for payment service
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 21:41:21 +08:00
Nicolas
86f989e405 The production environment of the authentication service also fully supports AKV. 2025-08-18 17:44:17 +08:00
zhenyus
b6614bfc4c refactor(authentication): update secret key references in values.alpha.yaml
- Changed the JWT and MongoDB URI secret key references to include the 'alpha' prefix for better environment differentiation.
- This update aligns with the recent changes in secret management for the authentication module.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 15:37:58 +08:00
zhenyus
363b408d39 refactor(authentication): update key reference in FreeleapsSecret template
- Changed the key reference from 'key' to 'secretKey' in freeleapssecret.yaml to improve clarity and consistency in secret management.
- This adjustment aligns with the recent updates to the secret management structure within the authentication module.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 15:33:28 +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
7e80fc6ca6 ci(bump): update authentication image version for prod to 1.3.1
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-12 15:39:10 +08:00
freeleaps-gitops-bot
eacdf8fc92 ci(bump): bump authentication image version for prod to snapshot-c93ce6b 2025-08-12 05:02:47 +00:00
freeleaps-gitops-bot
5b3334cc95 ci(bump): bump authentication image version for prod to snapshot-804c71f 2025-08-12 04:32:38 +00:00
freeleaps-gitops-bot
b8c97931af ci(bump): bump authentication image version for prod to 1.4.0 2025-08-12 04:32:25 +00:00
freeleaps-gitops-bot
631a9a9382 ci(bump): bump authentication image version for alpha to snapshot-6e43296 2025-08-12 04:23:52 +00:00
freeleaps-gitops-bot
b545149b37 ci(bump): bump authentication image version for prod to snapshot-c8a6275 2025-08-11 01:35:29 +00:00
freeleaps-gitops-bot
1dff360245 ci(bump): bump authentication image version for prod to 1.3.1 2025-08-11 01:30:44 +00:00
freeleaps-gitops-bot
5c81c902c0 ci(bump): bump authentication image version for prod to snapshot-bbfc1ba 2025-08-07 01:05:47 +00:00
freeleaps-gitops-bot
26f9bed8c1 ci(bump): bump authentication image version for prod to 1.3.0 2025-08-07 00:59:24 +00:00
freeleaps-gitops-bot
8bb08fd29a ci(bump): bump authentication image version for alpha to snapshot-12a0d9a 2025-07-31 15:20:49 +00:00
freeleaps-gitops-bot
3a189613ba ci(bump): bump authentication image version for alpha to snapshot-311fd21 2025-07-29 10:26:01 +00:00
freeleaps-gitops-bot
8fa1a8f725 ci(bump): bump authentication image version for alpha to snapshot-e7eeaaf 2025-07-29 03:55:54 +00:00
freeleaps-gitops-bot
219fa78be2 ci(bump): bump authentication image version for alpha to snapshot-eec7ac2 2025-07-28 14:11:09 +00:00
freeleaps-gitops-bot
b554516986 ci(bump): bump authentication image version for alpha to snapshot-9e2e2fa 2025-07-28 13:14:38 +00:00
freeleaps-gitops-bot
682142aecd ci(bump): bump authentication image version for alpha to snapshot-baf606d 2025-07-28 10:35:28 +00:00
freeleaps-gitops-bot
48d45775bd ci(bump): bump authentication image version for alpha to snapshot-b9f275c 2025-07-24 06:51:51 +00:00
freeleaps-gitops-bot
44f91692dc ci(bump): bump authentication image version for alpha to snapshot-2234571 2025-07-23 13:31:49 +00:00
zhenyus
7063dde811 feat(authentication): add Vertical Pod Autoscaler (VPA) configuration for resource management
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-06-10 16:23:34 +08:00
zhenyus
1af1073eab fix(authentication): update VPA deployment name to 'authentication'
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-06-10 16:05:25 +08:00
zhenyus
db590f3f27 refactor: update gitea-webhook-ambassador Dockerfile and configuration
- Changed the build process to include a web UI build stage using Node.js.
- Updated Go build stage to copy web UI files to the correct location.
- Removed the main.go file as it is no longer needed.
- Added SQLite database configuration to example config.
- Updated dependencies in go.mod and go.sum, including new packages for JWT and SQLite.
- Modified .gitignore to include new database and configuration files.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-06-10 16:00:52 +08:00
freeleaps-gitops-bot
f12c5eb9ad ci(bump): bump authentication image version for prod to snapshot-40e0faf 2025-04-30 06:58:42 +00:00
freeleaps-gitops-bot
1769eb0f23 ci(bump): bump authentication image version for prod to 1.2.1 2025-04-30 02:43:48 +00:00
freeleaps-gitops-bot
b048f50ccf ci(bump): bump authentication image version for alpha to snapshot-95a525a 2025-04-27 03:02:51 +00:00
freeleaps-gitops-bot
64ee753863 ci(bump): bump authentication image version for prod to snapshot-7d493a3 2025-04-25 03:50:20 +00:00
freeleaps-gitops-bot
42e4977903 ci(bump): bump authentication image version for prod to 1.2.0 2025-04-25 02:36:17 +00:00
freeleaps-gitops-bot
5b1fc766b4 ci(bump): bump authentication image version for prod to snapshot-7d493a3 2025-04-25 02:36:07 +00:00
freeleaps-gitops-bot
b9bca5be00 ci(bump): bump authentication image version for alpha to snapshot-6286c0f 2025-04-24 07:16:49 +00:00
zhenyus
4cd3f695f4 feat(opentelemetry): implement logging ingestion with OpenTelemetry collector and RBAC configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 22:34:09 +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
84e4eb9f02 fix(opentelemetry): update logging level to info and remove debug exporter
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 20:11:45 +08:00
zhenyus
bd31bcda9d fix(opentelemetry): simplify log body assignment by removing unnecessary type conversion
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 20:06:59 +08:00
zhenyus
dc3e06738c fix(opentelemetry): update log body processing to directly use resource attributes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 20:05:40 +08:00
zhenyus
ef0cf0fa87 fix(opentelemetry): add batch configuration for log processing
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 20:03:10 +08:00
zhenyus
ebeea26864 fix(opentelemetry): enhance log body processing by restructuring Kubernetes attributes handling
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 20:01:45 +08:00
zhenyus
6588193c7d fix(opentelemetry): reorder processors in log pipeline for correct processing sequence
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 19:53:40 +08:00
zhenyus
32d9f41ee5 fix(opentelemetry): update processor attributes to use environment variable values for improved metadata extraction
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 19:48:24 +08:00
zhenyus
ddabde9dc0 fix(opentelemetry): update environment variables and resource attributes for improved metadata extraction
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 19:43:22 +08:00
zhenyus
15dd1fba0b fix(opentelemetry): update resource attributes in distributor and log transformation for improved metadata extraction
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:43:08 +08:00