2022-12-25 12:49:45 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package upgrade;
|
|
|
|
|
2023-12-08 12:38:00 -05:00
|
|
|
import "internal/versions/components/components.proto";
|
|
|
|
|
2022-12-25 12:49:45 -05:00
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/upgrade-agent/upgradeproto";
|
|
|
|
|
|
|
|
service Update {
|
2023-03-23 13:08:49 -04:00
|
|
|
rpc ExecuteUpdate(ExecuteUpdateRequest) returns (ExecuteUpdateResponse);
|
2022-12-25 12:49:45 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
message ExecuteUpdateRequest {
|
2024-01-29 15:32:37 -05:00
|
|
|
reserved 1, 2;
|
|
|
|
reserved "kubeadm_url", "kubeadm_hash";
|
2023-03-23 13:08:49 -04:00
|
|
|
string wanted_kubernetes_version = 3;
|
2023-12-08 12:38:00 -05:00
|
|
|
|
|
|
|
repeated components.Component kubernetes_components = 4;
|
2022-12-25 12:49:45 -05:00
|
|
|
}
|
|
|
|
|
2023-03-23 13:08:49 -04:00
|
|
|
message ExecuteUpdateResponse {}
|