# Render-only overlay for ci/run-httproute-match-test.sh, applied LAST. # # Its one job is to put this chart into Gateway mode, because the convention # ships with httpRoute.enabled: false and the test would otherwise be green # over nothing. A chart that has an overlay here and still renders no # HTTPRoute FAILS the test - that is the whole point of the file existing. # # An overlay and not a change to ci/paperless-ngx/test-values.yaml: that # fixture is the ONLY install of the valkey-subchart path anywhere in this # repository (see its header), and the install-test runs exactly one # configuration per chart. Switching it into Gateway mode would trade that # coverage, plus this chart's Ingress, for a CRD schema cyberchef's fixture # already exercises against the real Gateway-API CRDs. The install keeps the # Ingress and the subchart; the route is held here, at render level, which is # where its two silent failure modes live. # # ingress.enabled: false is not optional here, and in THIS chart it is also # new: the switch was added with the Gateway mode (#114) and defaults to true, # so without this line the chart aborts its own render with both modes on. # # ingress.domain comes from ci/paperless-ngx/test-values.yaml and keeps feeding # PAPERLESS_URL in this mode too; httpRoute.hostnames is left empty on purpose, # so the fallback to ingress.domain is what the test exercises - and the two # therefore cannot disagree here, which is the state Django's CSRF check needs. ingress: enabled: false httpRoute: enabled: true parentRefs: - name: public namespace: gateway sectionName: https