Skip to content

fix(foundry): route sentinel service-account and analytics paths to core - #164

Merged
BK1031 merged 1 commit into
mainfrom
bk1031/kerbecs-service-account-analytics-routes
Aug 26, 2026
Merged

fix(foundry): route sentinel service-account and analytics paths to core#164
BK1031 merged 1 commit into
mainfrom
bk1031/kerbecs-service-account-analytics-routes

Conversation

@BK1031

@BK1031 BK1031 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

The kerbecs ConfigMap was never updated when service accounts shipped, so /api/service-accounts/* has no route and falls through to the web-frontend catch-all. nginx's SPA fallback answers 200 + index.html, axios resolves it as success, and the reveal dialog renders an empty token instead of erroring. Rotate and delete get a 405 from nginx.

Verified by running bk1031/kerbecs:3.2.0 against this exact ConfigMap (upstreams repointed at local stubs): all SA + analytics paths now reach core with /api stripped, and SPA routes still fall through to web.

No manual steps — providers.static.watch: true hot-reloads the mounted config, so no kerbecs restart is needed. No Vault secrets or access rules involved.

@BK1031
BK1031 merged commit 0bfd349 into main Aug 26, 2026
3 checks passed
@BK1031
BK1031 deleted the bk1031/kerbecs-service-account-analytics-routes branch August 26, 2026 22:18
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