1
0
Fork 0
Commit graph

29 commits

Author SHA1 Message Date
Joao Gilberto Magalhaes
4df8666a2b Add health checks for Docker services, ACME environment readiness validation, and Certbot unit tests
- Introduced health checks to Docker Compose files for better service reliability.
- Added ACME environment readiness validation to ensure proper configuration for Certbot.
- Implemented unit tests for Certbot's `check_acme_environment_ready` method to cover edge cases.
- Improved E2E tests with startup wait adjustments and dynamic certificate issuance verification.
- Enhanced Kubernetes test cleanup with forced resource deletion for faster termination.
2026-02-16 11:47:28 -05:00
Joao Gilberto Magalhaes
ece012a884 Introduce plugin initialization phase and consolidate config handling
- Added `initialize_plugins` method to `PluginManager` for requesting and processing file system resources during plugin initialization.
- Introduced `InitializationResult` and `ResourceRequest` structures for fine-grained resource management (e.g., directories, files).
- Enhanced configuration injection by separating `global_configs`, `defaults_configs`, and backend-level `haproxy_config`.
- Updated existing plugins (e.g., JWT Validator, Cloudflare) to use the initialization phase for resource setup.
- Simplified domain plugin execution by consolidating configuration logic into unified loops.
2026-02-13 16:14:05 -05:00
Joao Gilberto Magalhaes
90b01b1f13 Add Kubernetes integration tests for EasyHAProxy examples
- Introduced a suite of pytest-based integration tests for Kubernetes using `kind`.
- Automated local installation of dependencies (`kind`, `kubectl`, and `helm`) when missing.
- Implemented fixtures for Kubernetes resource management and TLS secrets.
- Added end-to-end tests for HTTP and HTTPS ingress functionality.
2026-02-12 01:42:43 -05:00
Joao Gilberto Magalhaes
8d24cdb513 Update logo ASCII art in main.py and bump Alpine base image to 3.23 2026-02-06 21:07:45 -05:00
Joao Gilberto Magalhaes
dc28b18351 Fix lint errors 2026-01-22 22:05:49 -05:00
Joao Gilberto Magalhaes
62e5c054f4 Refactor: modernize codebase by replacing deprecated patterns, simplifying imports, and applying type hinting refinements. 2026-01-22 21:47:33 -05:00
Joao Gilberto Magalhaes
99f4ff325b Update logging level for plugin loading and extend static example documentation
- Changed logging level from `info` to `debug` in plugin loading to reduce verbosity during runtime.
- Significantly expanded `examples/static/README.md` with new sections, examples (basic, certbot, deny pages, JWT validator), and detailed usage instructions.
- Improved `examples/docker/docker-compose-changed-label.yml` with clearer redirect syntax using JSON for better readability.
- Fixed handling of empty or invalid JSON in labels within `easymapping` with fallback to default values and error logging.
- Added additional entries to `.gitignore` to exclude dynamic and temporary files like auto-generated configuration files and certificates.
2025-12-04 09:09:33 -05:00
Joao Gilberto Magalhaes
9d97d568ec creating constants 2024-11-18 09:13:11 -06:00
Joao Gilberto Magalhaes
06ea2bbd3f Log Refactor 2024-11-15 22:39:05 -06:00
Joao Gilberto Magalhaes
e88f6b6326 Added documentation for new feature + Upgrade HAPROXY to 2.8.11 + Upgrade Python 2024-11-15 10:13:24 -06:00
Joao M
812590d86c
Merge branch 'issue/41' into issue/43 2023-07-03 14:19:00 -05:00
Joao Gilberto Magalhaes
3b2e9a43fd Fixing errors / reformating code 2023-07-01 18:26:50 -05:00
Joao Gilberto Magalhaes
078cb31eb7 Add parameter eab_kid and eab_hmac_key 2023-07-01 17:26:46 -05:00
Joao Gilberto Magalhaes
5dbe0a6d28 Renaming Letsencrypt to Certbot, since it will be more generic allowing other issuers. 2023-07-01 16:05:53 -05:00
Joao Gilberto
c2beff08fc Load custom config files 2023-02-11 15:34:18 -06:00
Joao Gilberto Magalhaes
cd2a3c6b9c Fix Runtime Errors 2023-02-08 21:34:39 -06:00
Joao Gilberto
f7969c2deb Issue #32 renaming letsencrypt test server env var 2022-11-10 18:43:50 -03:00
Joao Gilberto
79819aeacb issue #32 2022-11-09 18:27:22 -03:00
Joao M
85922425d4 Changes in the Static object 2022-09-02 23:00:16 +00:00
Joao M
3a3d5204a3 Refresh haproxy after letsencrypt 2022-09-02 21:22:17 +00:00
Joao Gilberto Magalhaes
0d16c117cb Fix minor things 2022-08-26 00:50:00 -05:00
Joao Gilberto Magalhaes
912be51399 Added Kubernetes TLS 2022-08-26 00:17:23 -05:00
Joao Gilberto Magalhaes
733e73ae58 Add log level and test for functions 2022-08-25 17:32:11 -05:00
Joao Gilberto Magalhaes
7d441d6386 adjusting level of debug 2022-08-25 12:30:17 -05:00
Joao M
28342cdc21 Lets encrypt 2022-08-25 02:03:47 +00:00
Joao M
3259a1b66a Add python certbot 2022-08-25 01:52:13 +00:00
Joao Gilberto Magalhaes
0687ba60a2 Fixing multithread issue 2022-08-24 17:38:06 -05:00
Joao M
877a4b3383 More adjustmemts 2022-08-24 02:33:21 +00:00
Joao M
7d959f892a Refactoring to Python 2022-08-24 01:00:26 +00:00