Commit 0dc50b1
committed
feat: add UnattendedInstall config and controller
Replace the deprecated v1alpha1 `.machine.install` section with a new
`UnattendedInstall` multi-document config kind, driven by a dedicated
`UnattendedInstallController` (single-flight, no reboot) that exposes an
`UnattendedInstallStatus` resource.
- Deprecate `.machine.install`; no longer required in validation.
- Gate behind version contract (>= 1.14); `talosctl gen config` and
`cluster create` emit `UnattendedInstall` by default for new contracts,
translating `--install-disk` into a CEL disk selector.
- Source `legacyBIOSSupport`/`grubUseUKICmdline` from the new document in
the installer, falling back to `.machine.install`.
- Skip the legacy install sequence (and its reboot) when the document is
present; install is reconciled out-of-band.
Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>1 parent a021940 commit 0dc50b1
43 files changed
Lines changed: 2174 additions & 257 deletions
File tree
- api/resource/definitions/runtime
- cmd/installer/cmd/installer
- hack
- internal/app/machined/pkg
- controllers/runtime
- runtime
- v1alpha1
- v1alpha2
- pkg
- images
- machinery
- api/resource/definitions/runtime
- config
- config
- container
- generate
- schemas
- types
- runtime
- testdata
- v1alpha1
- testdata/stability/v1.14
- resources/runtime
- website/content/v1.14
- reference
- configuration
- runtime
- v1alpha1
- schemas
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
224 | 231 | | |
225 | 232 | | |
226 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 76 | + | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
84 | 98 | | |
85 | 99 | | |
86 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
308 | 322 | | |
309 | 323 | | |
310 | 324 | | |
| |||
0 commit comments