diff --git a/lib/galaxy/jobs/runners/kubernetes.py b/lib/galaxy/jobs/runners/kubernetes.py index 79a1b13a0c05..32c3169f7e40 100644 --- a/lib/galaxy/jobs/runners/kubernetes.py +++ b/lib/galaxy/jobs/runners/kubernetes.py @@ -532,10 +532,8 @@ def __get_k8s_ingress_spec(self, ajs): ] else: k8s_spec_template["spec"]["tls"] = [ - { - "hosts": [domain], - "secretName": re.sub("[^a-z0-9-]", "-", domain) - } for domain in domains + {"hosts": [domain], + "secretName": re.sub("[^a-z0-9-]", "-", domain)} for domain in domains ] if self.runner_params.get("k8s_interactivetools_ingress_annotations"): new_ann = yaml.safe_load(self.runner_params.get("k8s_interactivetools_ingress_annotations"))