Commit Graph

428 Commits

Author SHA1 Message Date
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
zhenyus
b735ea1e0c fix: update namespace for Fluent Bit resources to freeleaps-logging-system
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:33:15 +08:00
zhenyus
a961051e0c fix: rename ClusterInput and update matchLabels for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:30:49 +08:00
zhenyus
f36a87eaca fix: add ClusterInput configuration for Fluent Bit log collection
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:29:00 +08:00
zhenyus
cf83b661d1 fix: add missing labels to Fluent Bit resources for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:28:40 +08:00
zhenyus
f8515ce1fa Merge branches 'master' and 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-16 00:18:19 +08:00
zhenyus
358f131809 Add Fluent Bit configuration for log collection
- Introduced Fluent Bit resources including FluentBit, Parser, Output, FluentBitConfig, and ClusterInput.
- Configured default resource requests and limits for Fluent Bit.
- Set up JSON parser with customizable time key and format.
- Established output forwarding to Fluentd service in the logging system.
- Enabled conditional deployment based on the `fluentbit.enabled` value in Helm chart.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-16 00:18:16 +08:00
freeleaps-gitops-bot
4da88a8726 ci(bump): bump frontend image version for alpha to snapshot-7ae12d3 2025-04-15 15:45:30 +00:00
freeleaps-gitops-bot
fc8933dcaf ci(bump): bump frontend image version for alpha to snapshot-48580c1 2025-04-14 15:33:20 +00:00
freeleaps-gitops-bot
ff8187fc15 ci(bump): bump frontend image version for alpha to snapshot-3201dda 2025-04-14 09:22:20 +00:00
zhenyus
96985920af fix(frontend): correct typo in build artifacts path for frontend
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 12:02:46 +08:00
zhenyus
c3cafc55ff fix(frontend): increase memory limit for build command and update artifacts
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 10:31:56 +08:00
freeleaps-gitops-bot
5c0c1ef359 ci(bump): bump frontend image version for alpha to snapshot-757ece1 2025-04-14 02:11:22 +00:00
freeleaps-gitops-bot
8d13b8f45e ci(bump): bump frontend image version for alpha to snapshot-a1f7f7c 2025-04-13 16:02:35 +00:00
freeleaps-gitops-bot
8b6d45b234 ci(bump): bump freeleaps image version for alpha to snapshot-240a38c 2025-04-12 01:44:46 +00:00
freeleaps-gitops-bot
e9fae626f5 ci(bump): bump chat image version for alpha to snapshot-240a38c 2025-04-12 01:36:27 +00:00
freeleaps-gitops-bot
0e673d125e ci(bump): bump freeleaps image version for alpha to snapshot-b0bb4b5 2025-04-11 04:10:34 +00:00
freeleaps-gitops-bot
0e29230498 ci(bump): bump freeleaps image version for alpha to snapshot-f91728d 2025-04-11 01:07:06 +00:00
zhenyus
6ebdef8933 Update ingress hosts and issuer references for alpha environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-11 01:22:29 +08:00
zhenyus
68db147b18 Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-09 16:15:26 +08:00
zhenyus
0c6aa8d17f Add Dockerfile and repmgr script for PostgreSQL replication management
- Created a new Dockerfile for PostgreSQL using the Bitnami repmgr image.
- Added a comprehensive `librepmgr.sh` script to manage PostgreSQL replication, including functions for node identification, password management, configuration validation, and primary/standby node operations.
- Implemented environment variable validations and PostgreSQL configuration injections for replication settings.
- Included functions for creating the repmgr user and database, as well as handling node registration and failover processes.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-09 16:15:23 +08:00
freeleaps-gitops-bot
3faf0f0339 ci(bump): bump freeleaps image version for alpha to snapshot-6efa558 2025-04-05 02:57:40 +00:00
zhenyus
406f2d11d0 Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-03-31 15:19:36 +08:00
zhenyus
6029462f12 ci: update Gitea webhook configuration and modify Redis URLs for alpha environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 15:19:33 +08:00
freeleaps-gitops-bot
690ab01abd ci(bump): bump frontend image version for alpha to snapshot-94dde37 2025-03-31 07:14:20 +00:00
freeleaps-gitops-bot
dbd2c30e3b ci(bump): bump freeleaps image version for alpha to snapshot-94dde37 2025-03-31 07:07:56 +00:00
freeleaps-gitops-bot
ca823030db ci(bump): bump chat image version for alpha to snapshot-94dde37 2025-03-31 06:59:47 +00:00
freeleaps-gitops-bot
4aa41acd43 ci(bump): bump frontend image version for alpha to snapshot-2bd9431 2025-03-31 06:06:31 +00:00
zhenyus
25a977e0ee ci: increase memory requests and limits for PostgreSQL HA in Gitea values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 13:53:21 +08:00
zhenyus
f415b83a85 ci: update execute mode to 'on-demand' in Jenkinsfiles and change MongoDB URIs to use SRV format
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 13:51:04 +08:00
freeleaps-gitops-bot
a024f1c6ee ci(bump): bump frontend image version for alpha to snapshot-0d98a7f 2025-03-31 05:33:59 +00:00
freeleaps-gitops-bot
2eaef448a4 ci(bump): bump freeleaps image version for alpha to snapshot-0d98a7f 2025-03-31 05:28:10 +00:00
freeleaps-gitops-bot
0bddd5a40d ci(bump): bump chat image version for alpha to snapshot-0d98a7f 2025-03-31 05:20:08 +00:00
freeleaps-gitops-bot
8daffc4666 ci(bump): bump freeleaps image version for alpha to snapshot-8c91c5c 2025-03-31 01:52:09 +00:00
freeleaps-gitops-bot
c453f82a97 ci(bump): bump chat image version for alpha to snapshot-8c91c5c 2025-03-31 01:44:04 +00:00
freeleaps-gitops-bot
7da207fbc7 ci(bump): bump freeleaps image version for alpha to snapshot-f0c9514 2025-03-31 01:06:11 +00:00
freeleaps-gitops-bot
a4a0099446 ci(bump): bump chat image version for alpha to snapshot-f0c9514 2025-03-31 00:57:56 +00:00
freeleaps-gitops-bot
426f2e6d67 ci(bump): bump freeleaps image version for alpha to snapshot-ad2bed9 2025-03-31 00:29:59 +00:00
freeleaps-gitops-bot
eeb2e84a5f ci(bump): bump chat image version for alpha to snapshot-ad2bed9 2025-03-31 00:21:47 +00:00
zhenyus
2fdc3a53ce Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-03-31 07:33:29 +08:00
zhenyus
a01446ef59 fix: update Jenkinsfile to change execution mode to on-demand and correct credentials ID
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 07:33:26 +08:00
freeleaps-gitops-bot
a2a0289f49 ci(bump): bump payment image version for alpha to snapshot-7940aa2 2025-03-30 23:29:03 +00:00
freeleaps-gitops-bot
a7c7388e53 ci(bump): bump notification image version for alpha to snapshot-7940aa2 2025-03-30 23:23:28 +00:00
freeleaps-gitops-bot
5258068125 ci(bump): bump content image version for alpha to snapshot-7940aa2 2025-03-30 23:18:06 +00:00
freeleaps-gitops-bot
5a732780ff ci(bump): bump centralStorage image version for alpha to snapshot-7940aa2 2025-03-30 23:10:26 +00:00
freeleaps-gitops-bot
2e90445b15 ci(bump): bump authentication image version for alpha to snapshot-7940aa2 2025-03-30 23:05:19 +00:00
zhenyus
32ba41f1f4 feat: add secret key configuration for webhook authentication
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 00:53:33 +08:00
zhenyus
60817c1be4 feat: add gitea-webhook-ambassador service and migration script
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-30 23:37:19 +08:00
zhenyus
e5000dfb3e feat: add resource presets for PostgreSQL and configure pgpool settings in Gitea values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-29 11:35:32 +08:00
zhenyus
f4ed174a4a feat: rename environment variable for disabling user registration in Gitea configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-29 00:42:49 +08:00
zhenyus
71d42b5437 feat: update environment variable name for disabling user registration in Gitea configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-29 00:37:38 +08:00
zhenyus
8a5255a314 feat: update environment variable for disabling user registration in Gitea configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-29 00:32:02 +08:00
zhenyus
c19b7de382 feat: enable user registration control via environment variable in Gitea configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-29 00:25:15 +08:00
zhenyus
3c5682916e feat: disable user registration in Gitea service configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-29 00:20:46 +08:00
zhenyus
36db36a20d feat: add notification endpoint configurations for chat and freeleaps services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-28 08:05:36 +08:00
zhenyus
0d975d7317 fix: update redisUrl in production values file for security
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 23:26:38 +08:00
zhenyus
0cecb340da feat: add ClusterIssuer for freeleaps.com and update issuer reference in frontend values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 15:15:02 +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
5b8429d883 chore: update Gitea configuration and migration script for production
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:36:24 +08:00
zhenyus
78da81658c ci(bump): update rabbitmqPassword in freeleaps values for alpha
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-24 12:51:39 +08:00
zhenyus
729a23bfe6 ci(bump): update rabbitmqPassword in chat and notification values for alpha
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-22 02:23:42 +08:00
freeleaps-gitops-bot
9c28b0b113 ci(bump): bump frontend image version for alpha to snapshot-dba2fa0 2025-03-21 18:13:36 +00:00
freeleaps-gitops-bot
c3871bca53 ci(bump): bump freeleaps image version for alpha to snapshot-dba2fa0 2025-03-21 18:07:38 +00:00
freeleaps-gitops-bot
89c275b586 ci(bump): bump chat image version for alpha to snapshot-dba2fa0 2025-03-21 17:59:55 +00:00
freeleaps-gitops-bot
35649c45cd ci(bump): bump devsvc image version for alpha to snapshot-9046780 2025-03-21 17:48:24 +00:00
freeleaps-gitops-bot
abae31e987 ci(bump): bump payment image version for alpha to snapshot-4dfbab4 2025-03-21 17:39:48 +00:00
freeleaps-gitops-bot
963f2acfa0 ci(bump): bump notification image version for alpha to snapshot-4dfbab4 2025-03-21 17:34:07 +00:00
freeleaps-gitops-bot
0d67f8c95d ci(bump): bump content image version for alpha to snapshot-4dfbab4 2025-03-21 17:28:43 +00:00
freeleaps-gitops-bot
900fd72d64 ci(bump): bump centralStorage image version for alpha to snapshot-4dfbab4 2025-03-21 17:21:12 +00:00
freeleaps-gitops-bot
1d41f1ba50 ci(bump): bump authentication image version for alpha to snapshot-4dfbab4 2025-03-21 17:16:22 +00:00
zhenyus
31fca018d6 feat: change Jenkinsfile execute mode from 'on-demand' to 'fully' for all services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-22 01:08:51 +08:00
zhenyus
6e7417ae00 feat: add migration script and update Helm values for various services with readiness and liveness probes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-22 01:03:59 +08:00