Commit Graph

225 Commits

Author SHA1 Message Date
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
zhenyus
5c2ea75928 fix(opentelemetry): correct sources key in pod association configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:29:14 +08:00
zhenyus
9ceaaa3e0b fix(opentelemetry): restore and configure k8sattributes processor for enhanced metadata extraction
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:28:25 +08:00
zhenyus
c08ddf7f76 fix(opentelemetry): add resource attributes for application and environment in log transformation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:20:39 +08:00
zhenyus
473f5cea54 fix(opentelemetry): update log transformation to use resource attributes for application and environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:17:40 +08:00
zhenyus
802b9bf8ba fix(opentelemetry): correct attribute path for service and deployment in log transformation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:07:42 +08:00
zhenyus
c106c9a624 fix(loki): update resource_attributes to use regex for indexing labels
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 17:05:53 +08:00
zhenyus
f45f79e32e fix(opentelemetry): update processors in logs pipeline to use transform instead of attributes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:44:36 +08:00
zhenyus
fb368eb8d8 fix(opentelemetry): remove commented-out k8sattributes actions for clarity
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:44:13 +08:00
zhenyus
b0a1e56a75 fix(opentelemetry): correct syntax for accessing context attributes in log transformation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:43:24 +08:00
zhenyus
5f1742e22e refactor(opentelemetry): reorganize log transformation logic for clarity and consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:42:28 +08:00
zhenyus
2e1879298f fix(opentelemetry): remove k8sattributes processor from logs pipeline for simplification
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:32:06 +08:00
zhenyus
1967a7444c fix(opentelemetry): comment out unused k8sattributes processor and related actions for clarity
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:31:29 +08:00
zhenyus
80e75eea27 fix(opentelemetry): add telemetry logging level configuration for improved log management
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:26:06 +08:00
zhenyus
4ee81552a2 fix(opentelemetry): streamline attributes configuration by removing redundant labeling actions
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:19:03 +08:00
zhenyus
222f5ee0fb feat(opentelemetry): add structured metadata support and update log transformation logic
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:16:03 +08:00
zhenyus
6bbc81a940 fix(opentelemetry): restore otlphttp/logs exporter configuration for log ingestion
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 16:00:50 +08:00
zhenyus
44e1213253 fix(opentelemetry): add labeling attributes for app and environment context
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:59:59 +08:00
zhenyus
884a535dd5 fix(auth): update lokiEndpoint to remove unnecessary path for log ingestion
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:29:35 +08:00
zhenyus
8dda0bada9 fix(opentelemetry): enhance log transformation by adding log statements and updating exporters
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:27:46 +08:00
zhenyus
4d591a03c0 fix(opentelemetry): reduce batch send size for log processing to improve performance
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:15:30 +08:00
zhenyus
0e967bf12c fix(opentelemetry): add debug exporter to log pipeline for detailed verbosity
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:09:44 +08:00
zhenyus
544293f7b2 fix(opentelemetry): refine log processing by removing unnecessary fields and enhancing attribute insertion
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 15:05:05 +08:00
zhenyus
90b4b3bb9b fix(opentelemetry): simplify log transformation by removing unnecessary merge operation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 14:49:20 +08:00
zhenyus
3daf27cb4d fix(opentelemetry): enhance log transformation logic to include merging attributes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 14:46:52 +08:00
zhenyus
19626a44fa fix(opentelemetry): update log ingestion settings and enhance transformation logic
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 14:38:55 +08:00
freeleaps-gitops-bot
d087f1d360 ci(bump): bump authentication image version for alpha to snapshot-ecad36a 2025-04-21 05:33:20 +00:00
freeleaps-gitops-bot
3132b59a81 ci(bump): bump authentication image version for alpha to snapshot-32c4fe9 2025-04-21 03:56:29 +00:00
freeleaps-gitops-bot
be745ba915 ci(bump): bump authentication image version for alpha to 1.1.1 2025-04-21 03:07:41 +00:00
freeleaps-gitops-bot
e937aaa092 ci(bump): bump authentication image version for prod to 1.1.1 2025-04-18 04:56:16 +00:00
zhenyus
33c91ecb8d fix: remove debug exporter and adjust k8sattributes processor configuration in OpenTelemetry setup
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 10:34:22 +08:00
zhenyus
354f6b2669 fix: add missing remove operator for body field in OpenTelemetry log processing
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:29:19 +08:00
zhenyus
b42a6ee07f fix: remove unnecessary transform processor from OpenTelemetry log pipeline
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:26:40 +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
c85f4966c5 fix: remove transform section from OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:23:27 +08:00
zhenyus
9f9151ad12 fix: remove unnecessary format field from loki exporter configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:19:30 +08:00
zhenyus
a72ed9b1b9 feat: add additional fields for pod IP and node name in OpenTelemetry log transformation
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:18:50 +08:00
zhenyus
61e3f5caff fix: add missing id field to json_parser operator and update transform statements in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:17:23 +08:00
zhenyus
fb0c828156 fix: add missing id field for json_parser operator in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:06:41 +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
063a2c3eea fix: remove unnecessary json_parser configuration from OpenTelemetry collector
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 07:00:42 +08:00
zhenyus
d597e30b1b feat: update log ingestion configuration for OpenTelemetry collector
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:58:07 +08:00
zhenyus
97d906939e fix: add security context for OpenTelemetry collector in configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:46:10 +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
535de7a8aa fix: add quotes around serviceAccount name in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:25:50 +08:00
zhenyus
849511b6ca feat: add OpenTelemetry RBAC configuration with ServiceAccount and ClusterRole
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:17:32 +08:00
zhenyus
e4ad10886f fix: update OpenTelemetry configuration to include TLS settings for Loki exporter and remove logging exporter
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:15:00 +08:00
zhenyus
623d504c5c fix: correct indentation for logging configuration in OpenTelemetry YAML
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:13:41 +08:00
zhenyus
cf1506978f fix: add loki.format attribute for log ingestion and remove unnecessary labels from exporter configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:12:42 +08:00
zhenyus
ed5c6a45af fix: refactor OpenTelemetry configuration by removing unused operators and restructuring metadata extraction
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 06:06:43 +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
b2dd79744b fix: correct syntax for 'from' field in OpenTelemetry configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:50:50 +08:00
zhenyus
eedb1cefc7 fix: update CA injection annotations and webhook service URLs for OpenTelemetry operator
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 05:49:54 +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
842f811767 fix: update resource kinds to Parser and Output for consistency and correct configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 01:07:46 +08:00
zhenyus
4576a4fe1a fix: remove FluentBit resource definition and retain only ClusterParser for streamlined configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 01:06:22 +08:00
zhenyus
b80518cdb7 fix: change kind from Parser and Output to ClusterParser and ClusterOutput for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:57:07 +08:00
zhenyus
d699274fe7 fix: change kind from FluentBitConfig to ClusterFluentBitConfig for correct resource definition
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:54:38 +08:00
zhenyus
decca8e7a1 fix: update labels for Fluent Bit resources to ensure correct identification
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:46:39 +08:00