From 019dc33fc9d3d0070ebc670c73a03aa085885b62 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Wed, 21 May 2025 08:17:44 -0300 Subject: [PATCH] subscribe fix --- ingestor/ingestor.py | 4 ++++ values.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ingestor/ingestor.py b/ingestor/ingestor.py index 166367f..b508b56 100644 --- a/ingestor/ingestor.py +++ b/ingestor/ingestor.py @@ -194,6 +194,10 @@ class Ingestor: self.ingestor_manager.drop_slot_leases(overleases) + for lease in overleases: + self.ingestor_manager.unsubscribe_slot(lease) + self.ingestor_manager.managed_tags.pop(lease) + def update_ingestor_manager(self, old_managed_tags: Dict[str, Any]): """ Updates the ingestor manager with the new managed tags. diff --git a/values.yaml b/values.yaml index a94bca0..a009115 100644 --- a/values.yaml +++ b/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ -replicaCount: 1 +replicaCount: 2 # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ image: