diff --git a/stack_orchestrator/deploy/k8s/cluster_info.py b/stack_orchestrator/deploy/k8s/cluster_info.py index e773a346..8c530fc9 100644 --- a/stack_orchestrator/deploy/k8s/cluster_info.py +++ b/stack_orchestrator/deploy/k8s/cluster_info.py @@ -712,7 +712,10 @@ class ClusterInfo: # Use a distinct app label for job pods so they don't get # picked up by pods_in_deployment() which queries app={app_name}. - pod_labels = {"app": f"{self.app_name}-job", **({"app.kubernetes.io/stack": self.stack_name} if self.stack_name else {})} + pod_labels = { + "app": f"{self.app_name}-job", + **({"app.kubernetes.io/stack": self.stack_name} if self.stack_name else {}), + } template = client.V1PodTemplateSpec( metadata=client.V1ObjectMeta( labels=pod_labels