Add Gateway API HTTPRoute support to the Helm chart#10095
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughAdds Gateway API HTTPRoute support to the pgadmin4 Helm chart. A new ChangesGateway API HTTPRoute Support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add an opt-in Gateway API HTTPRoute template to the Helm chart as an alternative to the existing Ingress, addressing #9942. It is disabled by default (httpRoute.enabled: false) so existing installs are unaffected. The template mirrors the existing ingress.yaml conventions: the pgadmin4.fullname backend, commonLabels/commonAnnotations propagation, and a hostname that falls back to ingress.hostname when httpRoute.hostnames is unset. parentRefs is required (a fail guard fires when it is empty), apiVersion defaults to gateway.networking.k8s.io/v1, and the default rule forwards "/" (PathPrefix) to the pgAdmin service. Custom hostnames and rules can be supplied for full control. The new values are documented in the chart README.
|
Merged to |
Adds an opt-in Gateway API
HTTPRoutetemplate to the pgAdmin Helm chart as an alternative to the existing Ingress, addressing #9942. Disabled by default (httpRoute.enabled: false) so existing installs are unaffected.The template mirrors the existing
ingress.yamlconventions:pgadmin4.fullnamebackend,commonLabels/commonAnnotationspropagation, and a hostname that falls back toingress.hostnamewhenhttpRoute.hostnamesis unset.parentRefsis required (afailguard fires when it is empty),apiVersiondefaults togateway.networking.k8s.io/v1, and the default rule forwards/(PathPrefix) to the pgAdmin service. Customhostnamesandrulescan be supplied for full control.Validation (local
helmv3.18):kind: HTTPRoutecount = 0).httpRoute.enabled=truewithparentRefs+hostnamesrenders a valid HTTPRoute (backendRef → service port 80, PathPrefix/).httpRoute.enabled=truewithoutparentRefsfails fast with a clear message.httpRoute.hostnamescorrectly falls back toingress.hostname.httpRoute.rulesoverride renders as supplied.helm lintclean both with the feature disabled and enabled.related: #9942
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.8)
Summary by CodeRabbit