Skip to content

feat(config): add install.disk to MachineConfig#17

Merged
Bugs5382 merged 1 commit into
mainfrom
feat/config-install-disk
Jul 3, 2026
Merged

feat(config): add install.disk to MachineConfig#17
Bugs5382 merged 1 commit into
mainfrom
feat/config-install-disk

Conversation

@Bugs5382

@Bugs5382 Bugs5382 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What and why

Add an Install message with a disk field to MachineConfig (field 9) so the CryptOS maintenance-mode install flow (Sub-spec 3) can carry the target block device in the machine config, mapping to Talos machine.install.disk. The new message is ignored by an already-installed node; cryptos owns validation — this contracts repo carries the type only.

Closes #16

Verification

  • Lint clean (task lint)
  • Build succeeds (go build ./go/...)
  • Generated stubs reproduce with no diff (task generate)
  • License headers pass (task license)

How this was verified

Regenerated with the pinned generators the committed stubs use (protoc-gen-go v1.34.2, protoc-gen-go-grpc v1.5.1) so the diff is limited to config.proto + config.pb.go (a newer protoc-gen-go otherwise rewrites every stub; tracked as #18). task lint, task generate (no diff), task license (0/0), and go build ./go/... all green.

@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Jul 3, 2026
Add an Install message with a disk field to MachineConfig so the maintenance
install flow can name the target disk (Talos machine.install.disk). Proto plus
regenerated Go stubs (protoc-gen-go v1.34.2 / protoc-gen-go-grpc v1.5.1 to match
the committed generator). No validation here; cryptos validates.

Closes #16
@Bugs5382 Bugs5382 force-pushed the feat/config-install-disk branch from b7b08c2 to 44bb509 Compare July 3, 2026 10:37
@Bugs5382 Bugs5382 self-assigned this Jul 3, 2026
@Bugs5382 Bugs5382 merged commit 1b15a1d into main Jul 3, 2026
16 of 17 checks passed
@Bugs5382 Bugs5382 deleted the feat/config-install-disk branch July 3, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(config): add install.disk to MachineConfig for the maintenance install flow

1 participant