Commit 034b31e
fix(application): carry env config group and comment across namespace migration
Namespace migration snapshots each environment's config items and replays them
into the target namespace via toUpdateCommands(). That mapping only copied key,
value, secret, and mountPath, so the UI-only group and comment metadata stored
in the oops.config-meta annotation was dropped on migration.
Copy group and comment onto each UpdateConfigMapCommand as well. Display order
was already preserved implicitly: getConfigMaps() returns items sorted by order
and updateConfigMap() re-derives order from list position, which the mapping
keeps intact.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 05bf12c commit 034b31e
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
| 206 | + | |
| 207 | + | |
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
| |||
0 commit comments