2022-06-21 17:59:12 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package init;
|
|
|
|
|
2022-09-22 08:48:30 +02:00
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/bootstrapper/initproto";
|
2022-06-21 17:59:12 +02:00
|
|
|
|
|
|
|
service API {
|
2023-05-30 11:47:36 +00:00
|
|
|
rpc Init(InitRequest) returns (stream InitResponse);
|
2022-06-21 17:59:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
message InitRequest {
|
2022-09-15 16:51:07 +02:00
|
|
|
// repeated string autoscaling_node_groups = 1; removed
|
2023-03-01 18:30:57 +01:00
|
|
|
// bytes master_secret = 2; removed
|
2022-06-21 17:59:12 +02:00
|
|
|
string kms_uri = 3;
|
|
|
|
string storage_uri = 4;
|
2023-03-01 18:30:57 +01:00
|
|
|
// string key_encryption_key_id = 5; removed
|
|
|
|
// bool use_existing_kek = 6; removed
|
2022-06-21 17:59:12 +02:00
|
|
|
string cloud_service_account_uri = 7;
|
|
|
|
string kubernetes_version = 8;
|
2022-11-11 08:44:36 +01:00
|
|
|
// repeated SSHUserKey ssh_user_keys = 9; removed
|
2023-03-01 18:30:57 +01:00
|
|
|
// bytes salt = 10; removed
|
2022-08-12 10:20:19 +02:00
|
|
|
bytes helm_deployments = 11;
|
2023-03-29 11:16:56 +02:00
|
|
|
// repeated uint32 enforced_pcrs = 12; removed
|
2023-03-21 12:46:49 +01:00
|
|
|
// bool enforce_idkeydigest = 13; removed
|
2022-09-20 10:07:55 +02:00
|
|
|
bool conformance_mode = 14;
|
2022-11-14 19:09:49 +01:00
|
|
|
repeated KubernetesComponent kubernetes_components = 15;
|
2022-11-26 19:44:34 +01:00
|
|
|
bytes init_secret = 16;
|
2023-02-10 13:27:22 +01:00
|
|
|
string cluster_name = 17;
|
2022-06-21 17:59:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
message InitResponse {
|
2023-05-30 11:47:36 +00:00
|
|
|
oneof kind {
|
|
|
|
InitSuccessResponse init_success = 1;
|
|
|
|
InitFailureResponse init_failure = 2;
|
|
|
|
LogResponseType log = 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message InitSuccessResponse {
|
2022-11-24 10:57:58 +01:00
|
|
|
bytes kubeconfig = 1;
|
|
|
|
bytes owner_id = 2;
|
|
|
|
bytes cluster_id = 3;
|
2022-06-21 17:59:12 +02:00
|
|
|
}
|
2022-11-14 19:09:49 +01:00
|
|
|
|
2023-05-30 11:47:36 +00:00
|
|
|
message InitFailureResponse {
|
|
|
|
string error = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LogResponseType {
|
|
|
|
bytes log = 1;
|
|
|
|
}
|
|
|
|
|
2022-11-14 19:09:49 +01:00
|
|
|
message KubernetesComponent {
|
|
|
|
string url = 1;
|
|
|
|
string hash = 2;
|
|
|
|
string install_path = 3;
|
|
|
|
bool extract = 4;
|
|
|
|
}
|