mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 16:09:45 -05:00
db79784045
* Merge Owner and Cluster ID into single value * Remove aTLS from KMS, as it is no longer used for cluster external communication * Update verify command to use cluster-id instead of unique-id flag * Remove owner ID from init output Signed-off-by: Daniel Weiße <dw@edgeless.systems>
44 lines
1.0 KiB
Protocol Buffer
44 lines
1.0 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package join;
|
|
|
|
option go_package = "github.com/edgelesssys/constellation/joinservice/joinproto";
|
|
|
|
service API {
|
|
rpc IssueJoinTicket(IssueJoinTicketRequest) returns (IssueJoinTicketResponse);
|
|
rpc IssueRejoinTicket(IssueRejoinTicketRequest) returns (IssueRejoinTicketResponse);
|
|
}
|
|
|
|
|
|
message IssueJoinTicketRequest {
|
|
string disk_uuid = 1;
|
|
bytes certificate_request = 2;
|
|
bool is_control_plane = 3;
|
|
}
|
|
|
|
message IssueJoinTicketResponse {
|
|
bytes state_disk_key = 1;
|
|
bytes measurement_salt = 2;
|
|
bytes measurement_secret = 3;
|
|
bytes kubelet_cert = 4;
|
|
string api_server_endpoint = 5;
|
|
string token = 6;
|
|
string discovery_token_ca_cert_hash = 7;
|
|
repeated control_plane_cert_or_key control_plane_files = 8;
|
|
string kubernetes_version = 9;
|
|
}
|
|
|
|
message control_plane_cert_or_key {
|
|
string name = 1;
|
|
bytes data = 2;
|
|
}
|
|
|
|
message IssueRejoinTicketRequest {
|
|
string disk_uuid = 1;
|
|
}
|
|
|
|
message IssueRejoinTicketResponse {
|
|
bytes state_disk_key = 1;
|
|
bytes measurement_secret = 2;
|
|
}
|