talos icon indicating copy to clipboard operation
talos copied to clipboard

Talos: allow setting install configuration using a separate document

Open Unix4ever opened this issue 3 years ago • 0 comments

The generated config for the machine may look like that:

---
version: v1alpha1
kind: InstallConfig
spec:
   preserve: true
   disk: /dev/vda # immutable
   image: ghcr.io/siderolabs/installer:v1.2.0
   extraKernelArgs:
     - ...
   extensions:
     - ...

   # stretch goal
   installer_signature: ... # installer signature that verifies that some 
                            # particular Talos installer was used to install Talos
---
# machine config
version: v1alpha2
kind: MachineConfig
persist: true
machine:
  ...
cluster:
  ...

Enhance talosctl apply-config to support multidoc YAML configuration.

We can report errors if the user tries to modify fields which are immutable after the OS is installed.

Unix4ever avatar Aug 10 '22 16:08 Unix4ever