constellation/joinservice/joinproto/join.proto
Daniel Weiße 2bcf001d52 Distribute k8s CA certificates and key over join-service
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2022-07-14 17:25:18 +02:00

34 lines
756 B
Protocol Buffer

syntax = "proto3";
package join;
option go_package = "github.com/edgelesssys/constellation/joinservice/joinproto";
service API {
rpc IssueJoinTicket(IssueJoinTicketRequest) returns (IssueJoinTicketResponse);
}
message IssueJoinTicketRequest {
string disk_uuid = 1;
string node_name = 2;
bool is_control_plane = 3;
}
message IssueJoinTicketResponse {
bytes state_disk_key = 1;
bytes owner_id = 2;
bytes cluster_id = 3;
bytes kubelet_key = 4;
bytes kubelet_cert = 5;
string api_server_endpoint = 6;
string token = 7;
string discovery_token_ca_cert_hash = 8;
repeated control_plane_cert_or_key control_plane_files = 9;
}
message control_plane_cert_or_key {
string name = 1;
bytes data = 2;
}