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