From 14e87c208c0de94fa66a8475829ed1fba93e3ceb Mon Sep 17 00:00:00 2001 From: "avi@robusta.dev" Date: Wed, 8 Jan 2025 11:07:28 +0200 Subject: [PATCH] pr changes --- playbooks/robusta_playbooks/kubectl_enrichments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/robusta_playbooks/kubectl_enrichments.py b/playbooks/robusta_playbooks/kubectl_enrichments.py index 2eab5b2f4..cd83a4e23 100644 --- a/playbooks/robusta_playbooks/kubectl_enrichments.py +++ b/playbooks/robusta_playbooks/kubectl_enrichments.py @@ -24,7 +24,7 @@ class KubectlParams(PodRunningParams): :var timeout: The maximum time (in seconds) to wait for the kubectl command to complete. Default is 3600 seconds. """ - command: str = None # type: ignore + command: str = None description: str = None timeout: int = 3600 @@ -57,7 +57,7 @@ def kubectl_command(event: ExecutionBaseEvent, params: KubectlParams): try: kubectl_response = RobustaJob.run_simple_job_spec( spec, - f"debug-kubectl-{str(uuid.uuid4())}", + f"robusta-kubectl-command-{str(uuid.uuid4())}", params.timeout, custom_annotations=params.custom_annotations, ttl_seconds_after_finished=43200, # 12 hours