Skip to content

feat: machineconfig-restore CRD + reconciler + schedule reconcilers (session/25)#26

Merged
ontave merged 1 commit into
mainfrom
session/25-machineconfig-restore
May 6, 2026
Merged

feat: machineconfig-restore CRD + reconciler + schedule reconcilers (session/25)#26
ontave merged 1 commit into
mainfrom
session/25-machineconfig-restore

Conversation

@ontave
Copy link
Copy Markdown
Contributor

@ontave ontave commented May 6, 2026

Summary

  • Adds TalosMachineConfigRestore CRD and MachineConfigRestoreReconciler: gates on RunnerConfig/capability, submits Conductor Job, polls OperationResult. One-shot CR pattern mirroring TalosMachineConfigBackup.
  • Adds TalosMachineConfigBackupSchedule CRD and MachineConfigBackupScheduleReconciler: interval-based scheduler using time.ParseDuration + RequeueAfter, creates TalosMachineConfigBackup CRs on each tick.
  • Adds TalosEtcdBackupSchedule CRD and EtcdBackupScheduleReconciler: same pattern, creates EtcdMaintenance CRs with operation=backup.
  • Registers all three reconcilers in cmd/platform/main.go.
  • go build ./... and go test ./... both pass.

Test plan

  • go test ./... passes (confirmed locally)
  • Conductor PR session/25-machineconfig-restore reviewed and merged first (provides CapabilityMachineConfigRestore constant)
  • CI green

…ncilers (session/25)

Adds TalosMachineConfigRestore CRD and reconciler mirroring the backup
pattern: gates on RunnerConfig/capability, submits Conductor Job, polls
OperationResult. Adds TalosMachineConfigBackupSchedule and
TalosEtcdBackupSchedule CRDs with interval-based schedule reconcilers
that create backup CRs on Go duration intervals using RequeueAfter.
Registers all three reconcilers in main. platform-schema.md §11.
@ontave ontave merged commit 402874e into main May 6, 2026
2 checks passed
@ontave ontave deleted the session/25-machineconfig-restore branch May 6, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant