From 4e2b7f7482a86f0ae9c8dc9cbb813b57411a82df Mon Sep 17 00:00:00 2001 From: "Ahmad N. F." Date: Wed, 9 Oct 2024 14:55:37 +0700 Subject: [PATCH 1/2] feat(optimus): add variables field in project & namespace --- gotocompany/optimus/core/v1beta1/namespace.proto | 3 ++- gotocompany/optimus/core/v1beta1/project.proto | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gotocompany/optimus/core/v1beta1/namespace.proto b/gotocompany/optimus/core/v1beta1/namespace.proto index d12e3c82..c39ebb3c 100644 --- a/gotocompany/optimus/core/v1beta1/namespace.proto +++ b/gotocompany/optimus/core/v1beta1/namespace.proto @@ -75,5 +75,6 @@ message GetNamespaceResponse { message NamespaceSpecification { string name = 1; - map config = 2; + map config = 2 [deprecated = true]; + map variables = 3; } diff --git a/gotocompany/optimus/core/v1beta1/project.proto b/gotocompany/optimus/core/v1beta1/project.proto index 7346f41d..de314657 100644 --- a/gotocompany/optimus/core/v1beta1/project.proto +++ b/gotocompany/optimus/core/v1beta1/project.proto @@ -85,4 +85,6 @@ message ProjectSpecification { string location = 7; } map presets = 4; + + map variables = 5; } From 67048b33645fd47b361a64e48c33ec9a1904a59f Mon Sep 17 00:00:00 2001 From: "Ahmad N. F." Date: Thu, 17 Oct 2024 16:15:37 +0700 Subject: [PATCH 2/2] feat: remove deprecation on namespace config --- gotocompany/optimus/core/v1beta1/namespace.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotocompany/optimus/core/v1beta1/namespace.proto b/gotocompany/optimus/core/v1beta1/namespace.proto index c39ebb3c..be4e2441 100644 --- a/gotocompany/optimus/core/v1beta1/namespace.proto +++ b/gotocompany/optimus/core/v1beta1/namespace.proto @@ -75,6 +75,6 @@ message GetNamespaceResponse { message NamespaceSpecification { string name = 1; - map config = 2 [deprecated = true]; + map config = 2; map variables = 3; }