Skip to content

fix(component-status): add cors middleware to IngressRoute for orchestrator clock#1703

Merged
guptagunjan merged 1 commit intomainfrom
gg/update-css
Apr 14, 2026
Merged

fix(component-status): add cors middleware to IngressRoute for orchestrator clock#1703
guptagunjan merged 1 commit intomainfrom
gg/update-css

Conversation

@guptagunjan
Copy link
Copy Markdown
Contributor

Description

The cors Traefik middleware must be present in the component-status IngressRoute so the browser receives Access-Control-Allow-Origin and Access-Control-Expose-Headers: Date headers. Without cors the browser blocks the CORS fetch entirely and the UI clock falls back to local time.

The cors Middleware spec already includes accessControlExposeHeaders: [Date] (traefik-extra-objects chart). This change wires it into the route.

Fixes # (issue)

Any Newly Introduced Dependencies

Please describe any newly introduced 3rd party dependencies in this change. List their name, license information and how they are used in the project.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

@guptagunjan guptagunjan added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit 18c2e10 Apr 14, 2026
35 checks passed
@guptagunjan guptagunjan deleted the gg/update-css branch April 14, 2026 08:27
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