From 4bd5b4bb16e43b7bbb075ebaab73a2e7086d15a4 Mon Sep 17 00:00:00 2001 From: Chris Lee Date: Mon, 9 Dec 2024 10:16:28 -0700 Subject: [PATCH] [rptest] Use "redpanda" namespace for KubeNodeShell --- tests/rptest/clients/kubectl.py | 2 +- tests/rptest/services/cloud_broker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rptest/clients/kubectl.py b/tests/rptest/clients/kubectl.py index 435167e74152e..a3686f53c6448 100644 --- a/tests/rptest/clients/kubectl.py +++ b/tests/rptest/clients/kubectl.py @@ -450,7 +450,7 @@ class KubeNodeShell(): def __init__(self, kubectl: KubectlTool, node_name: str, - namespace: str = 'redpanda-node-setup', + namespace: str = 'redpanda', clean=False) -> None: self.kubectl = kubectl self.node_name = node_name diff --git a/tests/rptest/services/cloud_broker.py b/tests/rptest/services/cloud_broker.py index c171fbf847e58..06a120cf48ac0 100644 --- a/tests/rptest/services/cloud_broker.py +++ b/tests/rptest/services/cloud_broker.py @@ -83,7 +83,7 @@ def inject_script(self, script_name): # Copy agent -> broker node remote_path = os.path.join("/tmp", script_name) _cp_cmd = self._kubeclient._ssh_prefix() + [ - 'kubectl', '-n', 'redpanda-node-setup', 'cp', script_name, + 'kubectl', '-n', 'redpanda', 'cp', script_name, f"{self.nodeshell.pod_name}:{remote_path}" ] self.logger.debug(_cp_cmd)