• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

phihos / haproxy-template-ingress-controller / 16950373735
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: add-claude-github-actions-1755122609229
DEFAULT BRANCH: main
Ran 13 Aug 2025 10:05PM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2025 04:36PM UTC coverage: 98.656% (+1.8%) from 96.835%
16950373735

push

github

web-flow
feat: implement config lookup system and remove dacite dependency (#15)

* feat: implement config lookup system and remove dacite dependency

- Add convenient lookup methods to all config collections (by_id, by_path, by_name)
- Replace dacite with superior custom parsing implementation
- Enhance template context with config access functions
- Add new management socket commands for targeted config queries
- Fix operator resource iteration to use collections properly
- Improve error messages with field-specific validation
- Support both dict and list input formats
- Remove dacite>=1.9.2 dependency

Features:
- WatchResourceCollection.by_id() for efficient resource lookup
- MapCollection.by_path() for map configuration access
- TemplateSnippetCollection.by_name() for snippet retrieval
- CertificateCollection.by_name() for certificate lookup
- Template context functions: get_template_snippet(), get_map_config(), get_certificate_config()
- Management socket 'get' commands for debugging and introspection
- Custom parsing with better error messages and flexible input formats

Benefits:
- Eliminated external dacite dependency
- Improved code readability with intuitive lookup methods
- Enhanced template capabilities with config access
- Better debugging experience through management socket
- Maintained backward compatibility with zero breaking changes

Testing: All 84 tests passing, comprehensive integration tests added

* fix: add required haproxy_config field to deployment ConfigMaps

- Add haproxy_config field to deploy/base/configmap.yaml
- Add haproxy_config field to charts/haproxy-template-ic/templates/configmap.yaml
- Update pod_selector format from string to match_labels structure
- Include basic HAProxy configuration with frontend/backend sections

This fixes the acceptance test failures caused by missing required field.

* fix: update test ConfigMap to include required haproxy_config field

- Add haproxy_config field to test fixture in tests/conftest... (continued)

514 of 521 relevant lines covered (98.66%)

0.99 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
96.71
-3.29% config.py
Jobs
ID Job ID Ran Files Coverage
1 16950373735.1 13 Aug 2025 10:05PM UTC 6
98.66
GitHub Action Run
Source Files on build 16950373735
  • Tree
  • List 6
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16950373735
  • 23077341 on github
  • Prev Build on main (#16922491371)
  • Next Build on add-claude-github-actions-1755122609229 (#16950374244)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc