Repository navigation
Commit dd1ff0b
ohotnikov.ivan
feat(console): fetch branding config from Kubernetes ConfigMap at runtime
Replace static /config.json file fetch with a live read of the
cozy-dashboard-console-config ConfigMap via the Kubernetes API.
This way branding is applied without restarting the pod and without
nginx volume mounts — any change to _cluster.branding values is
reflected on next page load.
Signed-off-by: ohotnikov.ivan <[email protected]>1 parent 2a28ecc commit dd1ff0b
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | | - | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | | - | |
| 23 | + | |
15 | 24 | | |
16 | | - | |
17 | 25 | | |
0 commit comments