From 795c974a3b933dce940ecc5957f4653caa9ab8be Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Mon, 18 Sep 2023 13:14:32 +0200 Subject: [PATCH] add review --- kpops/components/base_components/kafka_connector.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/kpops/components/base_components/kafka_connector.py b/kpops/components/base_components/kafka_connector.py index 1f4aeb43b..29d889ef8 100644 --- a/kpops/components/base_components/kafka_connector.py +++ b/kpops/components/base_components/kafka_connector.py @@ -110,7 +110,7 @@ def _connector_resetter_release_name(self) -> str: @property def _resetter_helm_chart(self) -> str: - """Get reseter Helm chart + """Get resetter Helm chart :return: returns the component resetter's helm chart """ @@ -121,11 +121,6 @@ def dry_run_handler(self) -> DryRunHandler: helm_diff = HelmDiff(self.config.helm_diff_config) return DryRunHandler(self.helm, helm_diff, self.namespace) - @property - def _kafka_connect_resetter_chart(self) -> str: - """Resetter chart for this component""" - return f"{self.repo_config.repository_name}/kafka-connect-resetter" - @property def helm_flags(self) -> HelmFlags: """Return shared flags for Helm commands""" @@ -232,7 +227,7 @@ def __install_connect_resetter( return self.helm.upgrade_install( release_name=self._connector_resetter_release_name, namespace=self.namespace, - chart=self._kafka_connect_resetter_chart, + chart=self._resetter_helm_chart, dry_run=dry_run, flags=HelmUpgradeInstallFlags( create_namespace=self.config.create_namespace,