Skip to content

feat: new CRs preliminary doc#46

Merged
bcho merged 5 commits intomainfrom
pahealy/new-crds
Apr 27, 2026
Merged

feat: new CRs preliminary doc#46
bcho merged 5 commits intomainfrom
pahealy/new-crds

Conversation

@phealy
Copy link
Copy Markdown
Contributor

@phealy phealy commented Apr 16, 2026

Comment and feedback on new CR proposal.

@phealy phealy requested a review from a team April 16, 2026 20:12
@plombardi89 plombardi89 self-requested a review April 16, 2026 20:20
Copy link
Copy Markdown
Contributor

@jwilder jwilder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few questions. Makes sense though.

Comment thread docs/content/concepts/new_crds.md Outdated
Comment thread docs/content/concepts/new_crds.md
Comment thread docs/content/concepts/new_crds.md
Comment thread docs/content/concepts/new_crds.md Outdated
Comment thread docs/content/concepts/new_crds.md Outdated
Comment thread docs/content/concepts/new_crds.md Outdated
Comment thread docs/content/concepts/new_crds.md
Comment thread docs/content/concepts/new_crds.md
Comment thread docs/content/concepts/new_crds.md Outdated
Comment thread docs/content/concepts/new_crds.md
Comment thread docs/content/concepts/new_crds.md
Comment thread docs/content/concepts/new_crds.md Outdated
Comment thread docs/content/concepts/new_crds.md
bcho added a commit that referenced this pull request Apr 21, 2026
Align the Operation CRD with the MachineOperation design from PR #46:
- Rename Operation CR to MachineOperation (shortName: mop)
- Rename spec.type to spec.operationName (enum-as-string)
- Rename SoftReboot/HardReboot to Reboot/PowerCycle plus Shutdown,
  PowerOff, PowerOn, RestartService placeholders
- Rename Completed phase to Complete
- Add spec.parameters map[string]string for operation arguments
- Add unbounded-kube.io/machine label on every MachineOperation for
  label-selector-based informer scoping in the agent
- Update agent opwatch to use label selector instead of client-side filter
- Update RBAC from operations to machineoperations
- Update kubectl soft-reboot, tests, and e2e
jveski and others added 3 commits April 21, 2026 13:48
Co-authored-by: Patrick W. Healy <phealy@phealy.com>
Co-authored-by: Patrick W. Healy <phealy@phealy.com>
Copy link
Copy Markdown
Member

@bcho bcho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per discusison, we will merge this design doc now as we have reached agreement on the direction. Further refinements will be added during implementation.

@bcho bcho merged commit 2c05c0d into main Apr 27, 2026
19 checks passed
@bcho bcho deleted the pahealy/new-crds branch April 27, 2026 21:41
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.

5 participants