Skip to content

Chart: route / by default, alongside /api and /swagger (r10.0-staging) - #353

Merged
MusaMisto merged 1 commit into
releases/r10.0-stagingfrom
musa/chart-ingress-root-path-r10.0-staging
Oct 11, 2026
Merged

MusaMisto merged 1 commit into
releases/r10.0-stagingfrom
musa/chart-ingress-root-path-r10.0-staging

Conversation

@MusaMisto

Copy link
Copy Markdown
Member

Why

The chart's Ingress exposed only /api and /swagger by default, so the admin SPA served from this image's wwwroot at / wasn't routed unless every deployment added / itself. GIG tried with ingress.path=/api, /, and it couldn't work: ingress.path is only used when ingress.paths is empty, and ingress.paths always has a default. The prod deploy failed, and the / rule ended up added by hand with kubectl patch.

Change

  • ingress.paths defaults to [/api, /swagger, /]. /api stays first, so NOTES still points at the API.
  • ingress.path (the root key, used only when paths is empty) is / instead of /api.
  • charts/default/README.md, docs/deployment.md and the values.yaml comment describe the new default.

The same change is open on releases/r10.0 and releases/r10.0-staging. The two hunks are identical, so the next staging -> r10.0 merge applies cleanly.

Verification

Each branch was compared with its own base:

  • helm lint --strict passes.
  • Ingress mode: a full render with a host set differs only by the added / rule (pathType: ImplementationSpecific, which ingress-nginx matches as a prefix, like the existing two).
  • Gateway mode (gateway.enabled=true): the render is byte-identical.
  • Explicit override ingress.paths={/api}: still renders only /api. Overrides replace the list, as before.
  • ingress.paths=null: now falls back to / (was /api).

After merge

Merging triggers the staging build and playground deploy. The playground uses Gateway API mode, whose render is unchanged.

The Ingress exposed only /api and /swagger, so the admin SPA at / stayed
on whatever else served the host unless every deployment remembered to
add it. A deployment that tried (`ingress.path=/api, /`) found that
`ingress.path` is ignored whenever `ingress.paths` is set, which it
always is by default.

ingress.paths now defaults to [/api, /swagger, /], and ingress.path, the
fallback for an empty list, is / too. Gateway mode already routes / and
renders unchanged.
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (8)
  • ^main$
  • ^master$
  • ^staging$
  • ^development$
  • ^gigstaging$
  • ^develop$
  • ^releases$
  • ^releases/r10.0$

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: simplify9/coderabbit/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 81dca2af-fc57-4636-bb58-634db08322d7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@MusaMisto
MusaMisto merged commit 7c25934 into releases/r10.0-staging Oct 11, 2026
3 checks passed
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.

1 participant