From 4bc02aa66b7b543c0d72ec754cd6ce9e65dc4ba7 Mon Sep 17 00:00:00 2001 From: Alexandru Mahmoud Date: Mon, 15 Jul 2024 15:42:23 -0400 Subject: [PATCH] Update lib/galaxy/jobs/runners/kubernetes.py Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com> --- lib/galaxy/jobs/runners/kubernetes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/jobs/runners/kubernetes.py b/lib/galaxy/jobs/runners/kubernetes.py index f01bbbe4cf8b..d7daf9e86da3 100644 --- a/lib/galaxy/jobs/runners/kubernetes.py +++ b/lib/galaxy/jobs/runners/kubernetes.py @@ -252,7 +252,7 @@ def __configure_port_routing(self, ajs): service = Service(self._pykube_api, k8s_service_obj) service.create() ingress = Ingress(self._pykube_api, k8s_ingress_obj) - ingress.version = self.runner_params.get("k8s_ingress_api_version") + ingress.version = self.runner_params["k8s_ingress_api_version"] ingress.create() def __get_overridable_params(self, job_wrapper, param_key):