Skip to content

fix(ratel): correct Ingress rule host placement and example values#133

Open
nicolaelapteanu wants to merge 2 commits intodgraph-io:mainfrom
nicolaelapteanu:fix/ratel-ingress-host-placement
Open

fix(ratel): correct Ingress rule host placement and example values#133
nicolaelapteanu wants to merge 2 commits intodgraph-io:mainfrom
nicolaelapteanu:fix/ratel-ingress-host-placement

Conversation

@nicolaelapteanu
Copy link
Copy Markdown

Summary

Fixes the standalone Ratel chart Ingress template so ingress.hosts[].host is rendered in the correct place in the Kubernetes Ingress rules structure. Also repairs the ALB example values file so it is valid when passed with helm install -f.


Problem

host was emitted under the http block (alongside paths), which does not match the Ingress API. Controllers would not apply the hostname as intended, so custom hosts (e.g. behind HAProxy Ingress class) appeared broken even when set in values.


Solution

  • Emit each rule as either:
    • host: ... + http: ..., or
    • http: ... only when no host is set
  • Keep paths unchanged under http
  • Add the missing top-level ingress: key in:
    • example_values/ingress/ingress-alb-no_host.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant