Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions kubernetes/gr-foundry/manifests/sentinel/configmap-kerbecs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,26 @@ data:
strip_prefix: /api
envelope: passthrough

# Service-account management (reveal / rotate / delete a bearer token).
# Without this route the paths fall through to web-frontend below and
# nginx answers 200 + index.html, so the SPA silently renders an empty
# token instead of erroring.
- name: core-service-accounts
match:
path: /api/service-accounts/*
upstream: core
rewrite:
strip_prefix: /api
envelope: passthrough

- name: core-analytics
match:
path: /api/analytics/*
upstream: core
rewrite:
strip_prefix: /api
envelope: passthrough

- name: oauth
match:
path: /api/oauth/*
Expand Down