Commit fb3072c
feat(deploy): add dashboard production patch with dataplane token
The production kustomize overlay was missing a dashboard deployment
patch. The base dashboard.yaml only configures AUTH_SECRET and
AUTH_TRUST_HOST; in production the dashboard needs:
1. CONTROLPLANE_ADMIN_URL / DATAPLANE_ADMIN_URL — in-cluster service
URLs instead of the code default (localhost).
2. DATAPLANE_BEARER_TOKEN — the dataplane admin uses a separate
bearer token (nantian-gw-dataplane-admin-auth secret) that differs
from the controlplane admin token. The dashboard BFF proxy needs
this token to authenticate against dataplane /v1/summary and other
admin endpoints.
Also wire all three existing patches (controlplane, dataplane, and now
dashboard) into the production kustomization.yaml patches list.
Previously these patches were not referenced in the kustomization.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8ee8f74 commit fb3072c
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments