constellation/joinservice/joinproto/join.proto
Otto Bittner a68ee817ff AB#2074: Choosable K8S Version (#277)
AB#2074: Add configurable k8s version

Configurable version flow:
* cli config holds/validates k8sVersion
* InitCluster receive a k8sVersion arg
* InitCluster creates CM "k8s-version"
* kubeadm's InitConfiguration receives k8sVersion
* joinservice spec mounts/reads k8s-version CM
* joinservice supplies k8sVersion via JoinTicketResponse
Other changes:
* Remove unused test code (FakeK8SClient)
* move VersionConfig map to /internal/versions
* installk8sComponents is now a function instead of a method
2022-07-18 12:28:02 +02:00

34 lines
773 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;
bytes certificate_request = 2;
bool is_control_plane = 3;
}
message IssueJoinTicketResponse {
bytes state_disk_key = 1;
bytes owner_id = 2;
bytes cluster_id = 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;
}