Commit Graph
1 Commits
  • test(httproute): add comprehensive unit tests and deployment notes
    Add helm-unittest test suite for HTTPRoute (Gateway API) covering:
    - Not created by default (enabled: false)
    - Created when enabled with required configuration
    - Annotations support
    - parentRefs configuration (name, namespace, sectionName)
    - Hostnames support (single and multiple)
    - Path matching rules (PathPrefix, Exact)
    - Multiple rules and multiple matches per rule
    - Backend references to Jellyfin service
    - Custom service port handling
    
    Add NOTES.txt with HTTPRoute-specific deployment information:
    - Gateway references and configuration status
    - Configured hostnames
    - Number of routes
    - Backend service details
    - Access URLs when hostnames configured
    - Warnings for missing parentRefs
    
    Tests ensure HTTPRoute works correctly across all Gateway API scenarios.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Signed-off-by: Aleksei Sviridkin <f@lex.la>