diff --git a/lib/galaxy/jobs/runners/kubernetes.py b/lib/galaxy/jobs/runners/kubernetes.py index 32c3169f7e40..f01bbbe4cf8b 100644 --- a/lib/galaxy/jobs/runners/kubernetes.py +++ b/lib/galaxy/jobs/runners/kubernetes.py @@ -532,8 +532,7 @@ 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"))