From c6df6964e895c11ec79a229e1aeeda684a8144fc Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 3 Apr 2024 18:44:37 +0200 Subject: [PATCH] Update the env data --- proto/environments/environments_v1.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/proto/environments/environments_v1.proto b/proto/environments/environments_v1.proto index a33e2b1..0da213a 100644 --- a/proto/environments/environments_v1.proto +++ b/proto/environments/environments_v1.proto @@ -17,6 +17,7 @@ service Environments { /** * Represents a environment UUID only + * I don't think we need it */ message EnvironmentId { string id = 1; // Contour ID: UUID @@ -25,6 +26,8 @@ message EnvironmentId { message EnvironmentData { string name = 1; // Environment name Provider provider = 2; // Provide + Kubernetes kubernetes = 3; + HetznerOptions hetzner_options = 4; } enum Provider { @@ -32,6 +35,16 @@ enum Provider { PROVIDER_HETZNER = 1; } +enum Kubernetes { + KUBERNETES_UNSPECIFIED = 0; + KUBERNETES_K3S = 1; +} + +message HetznerOptions { + string server_type = 1; + string server_location = 2; +} + message EnvironmentFull { EnvironmentId id = 1; EnvironmentData data = 2;