Skip to content

Commit

Permalink
feat: add rejected state to infra machine acceptance status
Browse files Browse the repository at this point in the history
Replace `accepted` boolean with a 3-state enum: pending, accepted or rejected.

Signed-off-by: Utku Ozdemir <[email protected]>
  • Loading branch information
utkuozdemir committed Dec 5, 2024
1 parent 8a64ba7 commit ce40338
Show file tree
Hide file tree
Showing 16 changed files with 421 additions and 346 deletions.
126 changes: 66 additions & 60 deletions client/api/omni/specs/infra.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/api/omni/specs/infra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ message InfraMachineSpec {
}

MachinePowerState preferred_power_state = 1;
bool accepted = 2;
InfraMachineConfigSpec.AcceptanceStatus acceptance_status = 2;
string cluster_talos_version = 3;
repeated string extensions = 4;

Expand Down
24 changes: 9 additions & 15 deletions client/api/omni/specs/infra_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ce40338

Please sign in to comment.