Commit Graph

85 Commits

Author SHA1 Message Date
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
ee201356f4 ci(bump): bump devsvc image version for prod to snapshot-b06f05e 2025-08-21 08:36:46 +00:00
freeleaps-gitops-bot
38873cfc74 ci(bump): bump devsvc image version for prod to snapshot-afcc5c6 2025-08-19 11:34:03 +00:00
freeleaps-gitops-bot
831debb564 ci(bump): bump devsvc image version for alpha to snapshot-a12ffcc 2025-08-19 11:24:41 +00:00
zhenyus
df862dfa39 refactor(devsvc): enhance secret management in values.yaml
- Removed hardcoded sensitive configurations (Gitea token, MongoDB URI, RabbitMQ password, and default Git password) from the values.yaml file.
- Introduced a structured secrets section to reference these sensitive values from FreeleapsSecretStore, improving security and maintainability.
- This change continues the effort to centralize and secure sensitive information management across the application.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 16:33:42 +08:00
zhenyus
6584ab12c5 refactor(devsvc): remove hardcoded Git password from values.alpha.yaml
- Eliminated the default Git password from the configuration file to enhance security and align with the secret management strategy.
- This change continues the effort to manage sensitive information more securely across the application.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 16:21:57 +08:00
zhenyus
e898a18b4d refactor(devsvc): implement secret management for sensitive configurations
- Removed direct references to sensitive data (e.g., MongoDB URI, Gitea token, RabbitMQ password) in values files and replaced them with a structured secrets section.
- Updated deployment and configuration templates to inject secrets from FreeleapsSecretStore, enhancing security and maintainability.
- This change aligns with the new secret management strategy across the application.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 16:17:16 +08:00
Nicolas
9af8c521d8 feat: enable log collection for devsvc service in prod environment 2025-08-13 19:30:54 +08:00
Nicolas
4ae88a0cc6 fix: devsvc logingest 2025-08-07 14:45:42 +08:00
Nicolas
237deb2816 fix: update RabbitMQ password for devops, devsvc, and notification services to match reconciler configuration 2025-08-07 12:49:19 +08:00
0fb96c85bb revert 05faf32ef8
revert fix: update RabbitMQ password for all services to match reconciler configuration
2025-08-07 04:44:40 +00:00
Nicolas
05faf32ef8 fix: update RabbitMQ password for all services to match reconciler configuration 2025-08-07 12:18:37 +08:00
zhenyus
8abdd2642d fix: rename Docker registry configuration keys in values.prod.yaml and values.yaml for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 04:30:04 +08:00
zhenyus
ff8ddce530 fix: rename Docker registry configuration keys in values.alpha.yaml and devsvc-config.yaml for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 04:24:43 +08:00
zhenyus
5d4e7c78ed fix: update rabbitmq and Git passwords in values.alpha.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 00:38:09 +08:00
zhenyus
a3219aa325 fix: update rabbitmq and Git passwords in values.alpha.yaml files
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 00:34:29 +08:00
cb70534764 Merge pull request 'fix: remove invalid k8scluster receiver to resolve OpenTelemetry startup error' (#43) from Nicolas_local_ops into master
Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/43
2025-08-01 00:27:30 +00:00
Nicolas
aa74f6a4f7 fix: remove invalid k8scluster receiver to resolve OpenTelemetry startup error
- Remove k8scluster receiver (invalid type name)
- Remove unused otlp receiver definitions
- Keep only filelog receiver which is actually used in pipeline
- Fixes CrashLoopBackOff issue in central-storage pod
2025-08-01 07:52:37 +08:00
zhenyus
00d58cc790 fix(devsvc): update RabbitMQ host in values.alpha.yaml
- Changed the RabbitMQ host from 'freeleaps-alpha-rabbitmq-cluster' to 'freeleaps-alpha-rabbitmq' to ensure proper connectivity to the RabbitMQ service in the alpha environment.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 00:57:17 +08:00
zhenyus
4a4ac0c304 feat(devsvc): add RabbitMQ and logging configuration in values.prod.yaml
- Introduced RabbitMQ connection settings including host, port, username, password, and virtual host.
- Added logging configuration with a specified log base path.
- Set default Git and Docker registry credentials for the production environment.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 00:19:09 +08:00
80773c8c82 Merge pull request 'Nicolas_local_ops' (#42) from Nicolas_local_ops into master
Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/42
2025-07-31 15:20:01 +00:00
Nicolas
d85f9408e4 fix: change Chinese comments to English in OpenTelemetry configs
- Replace Chinese comments with English in opentelemetry.yaml files
- Maintain consistent English-only comments in freeleaps-ops repository
- Keep the same functionality while improving code readability
2025-07-31 23:17:45 +08:00
Nicolas
5101e6d2cd fix: optimize OpenTelemetry configuration to prevent duplicate log collection
- Change receivers from [filelog, otlp, k8scluster] to [filelog] only
- Prevent duplicate logs from multiple collection sources
- Keep only filelog receiver to collect logs from application log files
- This eliminates duplicate logs appearing in Grafana for devsvc and central-storage
2025-07-31 23:08:10 +08:00
zhenyus
54420c53bf fix(devsvc): disable log ingestion in alpha environment
- Changed logIngest.enabled from true to false to prevent log ingestion in the alpha environment.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-07-31 16:10:15 +08:00
zhenyus
ccbbdf09f2 Merge branch 'master' of https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops 2025-07-31 16:07:23 +08:00
zhenyus
a2791e37b7 feat(devsvc): add RabbitMQ and Docker registry configuration options
- Introduced RabbitMQ configuration parameters including host, port, username, password, and virtual host.
- Added default Git and Docker registry credentials for improved deployment flexibility.
- Updated configuration template to include new parameters for RabbitMQ and Docker registry.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-07-31 16:07:20 +08:00
freeleaps-gitops-bot
405c7953f5 ci(bump): bump devsvc image version for alpha to snapshot-a12ffcc 2025-07-31 08:07:03 +00:00
Nicolas
ef36db54c2 feat: optimize devsvc OpenTelemetry logging configuration
- Change start_at from beginning to end to avoid processing old logs
- Add poll_interval: 1s for more frequent file monitoring
- Add otlp and k8scluster receivers for comprehensive log collection
- Reduce batch processor send_batch_size to 1 and timeout to 1s for real-time logging
- Update pipelines to include all three receivers
2025-07-31 12:47:10 +08:00
Nicolas
ea44bbfef3 fix: 修复devsvc服务OpenTelemetry配置中的语法错误
- 修复transform处理器中访问不存在log.attributes字段的问题
- 将配置更新为与其他服务一致的格式
- 确保ArgoCD能够成功同步devsvc服务配置
2025-07-30 09:42:50 +08:00
Nicolas
09eef0e622 fix: update devsvc OTC transform processor to use correct log.attributes path 2025-07-29 20:15:08 +08:00
Nicolas
06aa63da07 Fix OTC transform processor for devsvc logs - correct attribute paths and remove invalid ParseJSON 2025-07-29 19:19:25 +08:00
Nicolas
18b6bfc9e5 Add APPLICATION_ACTIVITY_LOG environment variable to devsvc config 2025-07-29 19:02:46 +08:00
Nicolas
a65edb236d Update devsvc OTC config to monitor .log file and start from beginning 2025-07-29 18:20:01 +08:00
Nicolas
070f238bdb merge: resolve conflict in values.alpha.yaml
- Choose newer image tag: snapshot-eec7ac2
- Resolve merge conflict between branches
2025-07-29 09:51:04 +08:00
Nicolas
8fc5281e23 feat: add DEBUG_MODE environment variable for central-storage 2025-07-28 21:00:33 +08:00
freeleaps-gitops-bot
5a6239b86c ci(bump): bump devsvc image version for alpha to snapshot-95c400e 2025-07-28 02:11:15 +00:00
zhenyus
3aad06eeb7 feat: add Vertical Pod Autoscaler (VPA) configuration across multiple services for improved resource management
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-06-10 23:53:31 +08:00
zhenyus
9c9d58186f Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-21 22:34:12 +08: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
freeleaps-gitops-bot
e36dd7f0b8 ci(bump): bump devsvc image version for alpha to snapshot-95c400e 2025-04-21 14:30:16 +00:00
freeleaps-gitops-bot
25de112fee ci(bump): bump devsvc image version for prod to 1.1.0 2025-04-18 05:56:51 +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
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
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
freeleaps-gitops-bot
35649c45cd ci(bump): bump devsvc image version for alpha to snapshot-9046780 2025-03-21 17:48:24 +00: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