From 4fc975f03dffa4a8795d1107fb6d48622b4cfd71 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Mon, 26 Aug 2024 09:31:50 +0545 Subject: [PATCH] feat: add CRDSync source type --- models/source.go | 1 + schema/vars.hcl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/models/source.go b/models/source.go index b75b48f1..9b3eb106 100644 --- a/models/source.go +++ b/models/source.go @@ -6,4 +6,5 @@ const ( SourceUI = "UI" SourceTopology = "Topology" SourcePush = "Push" + SourceCRDSync = "CRDSync" ) diff --git a/schema/vars.hcl b/schema/vars.hcl index 95ef5de9..fd44f331 100644 --- a/schema/vars.hcl +++ b/schema/vars.hcl @@ -8,5 +8,5 @@ enum "source" { # The "Topology" value cannot be dropped as migration drops the enum # and tries to recreate it # TODO: Create new enum, replace usage and delete this one - values = ["KubernetesCRD", "ConfigFile", "UI", "Topology", "Push"] + values = ["KubernetesCRD", "ConfigFile", "UI", "Topology", "Push", "CRDSync"] }