From f9623b24d0469c170eafcea2cd27e6a9a3e0b532 Mon Sep 17 00:00:00 2001 From: paulobressan Date: Tue, 12 Nov 2024 16:55:05 -0300 Subject: [PATCH] fix: updated operator crd --- bootstrap/crds/main.tf | 1 - operator/src/controller.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap/crds/main.tf b/bootstrap/crds/main.tf index 4e35f15..000375e 100644 --- a/bootstrap/crds/main.tf +++ b/bootstrap/crds/main.tf @@ -83,7 +83,6 @@ resource "kubernetes_manifest" "customresourcedefinition_kupoports_demeter_run" } "required" = [ "network", - "operatorVersion", "pruneUtxo", "throughputTier", ] diff --git a/operator/src/controller.rs b/operator/src/controller.rs index 910bdea..078e2ac 100644 --- a/operator/src/controller.rs +++ b/operator/src/controller.rs @@ -42,7 +42,7 @@ impl Context { "#)] #[serde(rename_all = "camelCase")] pub struct KupoPortSpec { - pub operator_version: String, + pub operator_version: Option, pub network: String, pub prune_utxo: bool, pub throughput_tier: String,