Repository navigation
Commit a860df1
committed
fix(kubernetes-nodes): keep the TalosConfigTemplate out of the filesystem
The reconcile Job runs with readOnlyRootFilesystem and no volumes, so writing
the manifest to /tmp died with "can't create /tmp/tct.yaml" — the Job never
applied a TalosConfigTemplate, workers never joined, and both kubernetes e2e
suites timed out waiting on their machinedeployments. That was on the KubeVirt
path, which this series is supposed to leave untouched.
The manifest now lives in a shell variable, which keeps the container hardened
as it was and has the property the retry needs anyway: the second apply sends
exactly what the first one did, rather than re-rendering it.
Caught by e2e on the pull request. Nothing in the unit suites could have seen
it — they assert on the script's text, and the text was correct; what was wrong
was the filesystem it assumed.
Signed-off-by: Marian Koreniuk <[email protected]>
Assisted-by: LLM1 parent 2a2f06c commit a860df1
2 files changed
Lines changed: 12 additions & 5 deletions
File tree
- hack
- packages/apps/kubernetes-nodes/templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
253 | 259 | | |
254 | 260 | | |
255 | 261 | | |
| |||
393 | 399 | | |
394 | 400 | | |
395 | 401 | | |
| 402 | + | |
396 | 403 | | |
397 | 404 | | |
398 | 405 | | |
| |||
405 | 412 | | |
406 | 413 | | |
407 | 414 | | |
408 | | - | |
| 415 | + | |
409 | 416 | | |
410 | 417 | | |
411 | 418 | | |
412 | 419 | | |
413 | | - | |
| 420 | + | |
414 | 421 | | |
415 | 422 | | |
416 | 423 | | |
| |||
0 commit comments