diff --git a/kpops/components/base_components/kafka_connector.py b/kpops/components/base_components/kafka_connector.py index 40e9ad1c8..1d9a296b3 100644 --- a/kpops/components/base_components/kafka_connector.py +++ b/kpops/components/base_components/kafka_connector.py @@ -134,16 +134,6 @@ def connector_config_should_have_component_name( app["name"] = component_name return KafkaConnectorConfig(**app) - # @pydantic.model_validator(mode="after") - # def warning_for_latest_image_tag(self) -> Self: - # resetter_image_tag = self.resetter_values.get("imageTag") - # if not resetter_image_tag or resetter_image_tag == "latest": - # log.warning( - # f"The imageTag for the Kafka Connect resetter in component '{self.name}' is not set and defaults to 'latest'. " - # f"Please, consider providing a stable imageTag." - # ) - # return self - @cached_property def _resetter(self) -> KafkaConnectorResetter: kwargs: dict[str, Any] = {} diff --git a/tests/components/resources/pipelines/test-distributed-defaults/defaults.yaml b/tests/components/resources/pipelines/test-distributed-defaults/defaults.yaml index d835cc16f..567c831f3 100644 --- a/tests/components/resources/pipelines/test-distributed-defaults/defaults.yaml +++ b/tests/components/resources/pipelines/test-distributed-defaults/defaults.yaml @@ -1,5 +1,3 @@ helm-app: name: ${component.type} namespace: example-namespace - app: - imageTag: latest