Commit 60e3ebe
fix(supervisor): type worker pod annotations as Record<string, string>
@kubernetes/client-node@1.0.0 tightened V1ObjectMeta.annotations from
'unknown' to 'Record<string, string>'. The parsed JSON from the
KUBERNETES_WORKER_POD_ANNOTATIONS env var lands as 'unknown' which now
fails TS2322 at the assignment site. Cast (or validate) at the parse
boundary.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 8b5734e commit 60e3ebe
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
0 commit comments