Skip to content

Commit

Permalink
feat: allow manual bmc configuration for bare metal machines
Browse files Browse the repository at this point in the history
Introduce the resources and controllers to configure the BMC address and credentials manually:

- Add the user-managed `omni.InfraMachineBMCConfig` resource which can be read/modified only by admins.
- Add the controller-managed `infra.BMCConfig` resource which lives in the `infra-provider` namespace and holds the matching provider ID label to satisfy the data access checks for the infra providers (can only be read by the matching infra provider and admins).

Signed-off-by: Utku Ozdemir <[email protected]>
  • Loading branch information
utkuozdemir committed Feb 10, 2025
1 parent b654b2c commit 6fb1fcd
Show file tree
Hide file tree
Showing 21 changed files with 1,665 additions and 235 deletions.
97 changes: 74 additions & 23 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.

4 changes: 4 additions & 0 deletions client/api/omni/specs/infra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ message InfraProviderHealthStatusSpec {
google.protobuf.Timestamp last_heartbeat_timestamp = 1;
string error = 2;
}

message BMCConfigSpec {
InfraMachineBMCConfigSpec config = 1;
}
180 changes: 180 additions & 0 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 6fb1fcd

Please sign in to comment.