Skip to content

Conversation

bernielomax
Copy link
Contributor

Support backwards compatibility for webapp routing between v1 and v2+ charts. In v1 charts, the webapp is served from a dedicated webapp service, while in v2+ charts the webapp is served directly from the server service.

  • Add chart version parameter to Ingress function
  • Add version-specific routing logic
  • Add test coverage for version boundaries and routing behavior

Support backwards compatibility for webapp routing between v1 and v2+ charts.
In v1 charts, the webapp is served from a dedicated webapp service, while in
v2+ charts the webapp is served directly from the server service.

- Add chart version parameter to Ingress function
- Add version-specific routing logic
- Add test coverage for version boundaries and routing behavior
@bernielomax bernielomax requested a review from a team as a code owner August 6, 2025 19:30
var pathType = networkingv1.PathType("Prefix")
func ingressRules(chartVersion string, host string) networkingv1.IngressRule {
rules := ingressRulesForV1()
if helm.ChartIsV2Plus(chartVersion) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this we probably want to be checking against Airbyte versions? That's not something we currently do, or truly support.

@bernielomax bernielomax merged commit 8742b79 into main Aug 14, 2025
2 checks passed
@bernielomax bernielomax deleted the bernielomax/feat/route-ingress-for-chart-version branch August 14, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants