Commit Graph
1 Commits
  • feat(chart): add JSON Schema with NetworkPolicy/hostNetwork conflict validation
    Add values.schema.json with comprehensive validation for chart values:
    - All core fields with types, defaults, and enums
    - Validation preventing NetworkPolicy + hostNetwork conflicts
    - Validation preventing NetworkPolicy + DLNA conflicts
    
    The schema uses JSON Schema draft-07 with allOf/if-then logic to enforce
    mutual exclusivity: networkPolicy.enabled cannot be true when either
    jellyfin.enableDLNA or podPrivileges.hostNetwork is true.
    
    Validated with check-jsonschema against current values.yaml and
    test cases for both valid and invalid configurations.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Signed-off-by: Aleksei Sviridkin <f@lex.la>