constellation/bootstrapper/initproto/init.proto

59 lines
1.3 KiB
Protocol Buffer
Raw Normal View History

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