1
0
Fork 0
Commit graph

66 commits

Author SHA1 Message Date
Joao Gilberto Magalhaes
75d6833769 Enhance plugin documentation and add Kubernetes plugin annotation support
- Updated `plugins.md` and `kubernetes.md` with detailed plugin configuration examples for Kubernetes annotations.
- Introduced support for `easyhaproxy.plugins` and `easyhaproxy.plugin.{name}.{key}` annotations in Kubernetes.
- Added comprehensive examples for JWT validation, IP whitelisting, and deny pages
2025-11-27 18:54:07 -05:00
Joao Gilberto Magalhaes
ebc4b2bf7a Add JWT Validator Plugin and corresponding tests
- Introduced `JwtValidatorPlugin` (DOMAIN): Validates JWT tokens for protected API endpoints using HAProxy's JWT functionality.
- Added configuration options: `enabled`, `algorithm`, `issuer`, `audience`, `pubkey_path`, and `pubkey`.
- Documented the plugin setup and usage in `plugins.md` and `plugin-development.md`.
- Created fixtures for `services-with-jwt-validator`.
- Added extensive test cases to validate configuration and HAProxy output generation.
- Ensured seamless integration into the plugin framework alongside existing domain plugins.
2025-11-27 18:48:10 -05:00
Joao Gilberto Magalhaes
57387f3e32 Add IP Whitelist Plugin and corresponding tests
- Introduced `IpWhitelistPlugin` (DOMAIN): Restricts access to specific IP addresses or CIDR ranges.
- Added configuration options: `enabled`, `allowed_ips`, and `status_code`.
- Updated `plugins.md` and `plugin-development.md` to document `IpWhitelistPlugin`.
- Created fixtures for `services-with-ip-whitelist`.
- Added extensive test cases for `IpWhitelistPlugin` to validate configuration and HAProxy output generation.
- Ensured seamless integration into the plugin framework alongside other domain plugins.
2025-11-27 18:35:37 -05:00
Joao Gilberto Magalhaes
90e3df2b75 Add built-in plugin framework and initial plugins
- Introduced a plugin system enabling EasyHAProxy extensions.
- Added `CleanupPlugin` (GLOBAL): Handles temporary file cleanup.
- Added `CloudflarePlugin` (DOMAIN): Restores visitor IP from Cloudflare headers.
- Added `DenyPagesPlugin` (DOMAIN): Blocks access to specified paths.
- Documented the plugin architecture, configuration options, and built-in plugins in `docs/plugin-development.md` and `docs/plugins.md`.
2025-11-27 17:43:59 -05:00
Joao Gilberto Magalhaes
facbaaabb6 Update documentation and examples
- Improved container labels documentation formatting and fixed typos.
- Clarified static discovery mode requirements in static.md.
- Updated Kubernetes annotations explanations.
- Enhanced README.md with details about supported platforms and features.
- Bumped Swarm example image to version 4.6.0.
2025-11-10 16:36:05 -05:00
Claude
aee9645b43
Enhance documentation with Docusaurus features and fix inaccuracies
Verified against source code and enhanced with Docusaurus markdown features:

Documentation Accuracy Fixes:
- Fixed acme.md: Added "letsencrypt" as valid AUTOCONFIG value (was incorrectly shown as "-")
- Added reference to ACME docs from environment-variable.md
- Verified all features against actual implementation in /src

Docusaurus Enhancements Added:
- Admonitions (:::note, :::tip, :::warning, :::danger, :::info) for important callouts
- Code block titles for all bash/yaml examples (e.g., title="Install EasyHAProxy")
- Better structured warnings and notes for limitations
- Improved formatting and readability throughout

Files Enhanced:
- kubernetes.md: Added info boxes, warnings, code titles
- docker.md: Added limitation warnings, code titles
- swarm.md: Added advantage tips, limitation warnings
- acme.md: Fixed Let's Encrypt autoconfig, enhanced requirements with admonitions
- ssl.md: Added code block titles for all examples
- static.md: Added live reload tip, SSL certificate note
- container-labels.md: Added definition explanation, code titles
- limitations.md: Restructured with clear warnings and explanations
- helm.md: Added warnings, code titles
- microk8s.md: Added ingress controller warning, code titles
- volumes.md: Added info box about volume purposes
- other.md: Added code block titles
- environment-variable.md: Added ACME reference note

All changes verified against actual Python source code implementation.
2025-11-09 23:50:44 +00:00
Claude
96120d4554
Add Docusaurus frontmatter and improve documentation structure
- Add sidebar_position to all documentation files (1-15)
- Add "Configuration Reference" section to README.md with links to:
  - Container Labels
  - Environment Variables
  - Volumes
  - Other Configurations
  - Limitations
- Ensure sidebar_position values match README.md link order exactly
- Order follows logical flow: Platform installation → Tool installation → Special topics → Configuration reference
- All documentation now properly configured for Docusaurus
2025-11-09 23:44:14 +00:00
byjg CI/CD
14cce510bf [skip ci] Update from 4.5.0 to 4.6.0 2025-08-24 23:14:07 +00:00
Joao Gilberto Magalhaes
ea9e4ee7c8 Some fixes and documentation
- Introduced ACME HTTP-01 challenge documentation.
- Added Docker Compose example for HTTP-01 setup.
- Updated `get_haproxy_command` logic with improved PID validation using `psutil`.
- Enhanced logging with a new `SingleLineNonEmptyFilter`.
- Expanded tests for daemonize functionalities.
- Updated dependencies to include `psutil`.
2025-08-24 17:49:25 -04:00
byjg CI/CD
f1c1d117f5 [skip ci] Update from 4.4.0 to 4.5.0 2025-04-16 18:53:24 +00:00
Joao Gilberto Magalhaes
0052cc320a Minor text adjustments 2024-11-15 20:16:14 -06:00
Joao Gilberto Magalhaes
0ab73621d4 Merge branch 'master' into issue/54 2024-11-15 20:16:01 -06:00
Joao Gilberto Magalhaes
386efcd6b5 Add DigitalOcean marketplace 2024-11-15 10:58:42 -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 Gilberto Magalhaes
f9e94c7d2c Improve documentation for issue #54 2024-02-22 16:47:22 -06:00
Joao M
fea04f0510
Add Helm as GitHub actions 2024-01-12 14:22:15 -06:00
Joao Gilberto Magalhaes
429c9ed176 Added Chart Logo 2023-12-04 01:55:13 -06:00
byjg CI/CD
7af8d2da5a [skip ci] Update from 4.3.1-rc1 to 4.4.0 2023-11-22 01:15:51 +00:00
Joao Gilberto Magalhaes
c58c3509dc Fix version in the examples 2023-07-03 21:46:49 -05:00
Joao Gilberto Magalhaes
f0057fbac7 Update static.md 2023-07-03 20:37:56 -05:00
Joao Gilberto Magalhaes
63048adf0f Minor Fix Pre-Merge 2023-07-03 15:31:03 -05:00
Joao Gilberto Magalhaes
166b75cd75 Minor Fix Pre-Merge 2023-07-03 15:02:32 -05:00
Joao M
812590d86c
Merge branch 'issue/41' into issue/43 2023-07-03 14:19:00 -05:00
Joao M
78ea9b6810
Merge pull request #45 from byjg/issue/38
Issue #38 Add HTTPS Support for SSL
2023-07-03 13:37:38 -05:00
Joao Gilberto Magalhaes
4bb1c7931d Added Retry Count 2023-07-02 11:19:51 -05:00
Joao Gilberto Magalhaes
9db4d763ec ACME Docs and changes in Functions.run_bash 2023-07-02 02:07:37 -05:00
Joao Gilberto Magalhaes
667861a8e9 Added documentation for ZeroSSL. 2023-07-01 19:27:05 -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 Magalhaes
d43c7572d2 Working on issue #41 2023-06-30 13:35:12 -05:00
Joao M
c41cc42d47
Merge branch '4.4.0' into issue/38 2023-06-27 00:20:55 -05:00
Joao Gilberto Magalhaes
2ddf276919 Defining Log Level 2023-06-27 00:19:18 -05:00
Joao M
38c2440145
Merge branch '4.4.0' into 4.3.1 2023-06-26 22:34:09 -05:00
Joao Gilberto Magalhaes
dd34b62985 Merge branch 'master' into 4.4.0 2023-06-26 22:17:24 -05:00
Joao Gilberto Magalhaes
3ee6ee5c99 More docs 2023-02-28 00:08:30 -06:00
Joao Gilberto Magalhaes
d63aeef206 Make documentation clear 2023-02-28 00:04:51 -06:00
Joao Gilberto
aa5f8055f5 Better examples for Swarm 2023-02-27 10:08:38 -06:00
byjg CI/CD
b52c413834 [skip ci] Update from 4.3.0 to 4.3.1-rc1 2023-02-27 03:06:48 +00:00
Joao Gilberto Magalhaes
6e367174d4 Add ssl-check 2023-02-26 20:56:32 -06:00
Joao M
4d54fede5c
Update swarm.md 2023-02-25 23:10:22 -06:00
Joao M
d98dd725ca
Update microk8s.md 2023-02-25 23:05:11 -06:00
Joao M
f3f47819a4
Fix documentation 2023-02-25 22:55:08 -06:00
Joao M
557c0ec433
Fix docker swarm documentation 2023-02-25 22:47:37 -06:00
Joao Gilberto Magalhaes
aafa0bcae6 Merge branch 'master' into 4.4.0 2023-02-12 19:57:52 -06:00
Joao Gilberto Magalhaes
58bda7eef0 Add MicroK8s, Helm and Dokku to the documentation 2023-02-12 09:51:54 -06:00
Joao Gilberto
7b61be60d8 Added documentation for volume 2023-02-11 11:44:48 -06:00
byjg CI/CD
89c4799efa [skip ci] Update from 4.2.0 to 4.3.0 2023-02-09 04:07:27 +00: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
607470a122 Issue #33 - handle networks 2022-11-10 17:43:59 -03:00