Skip to content

Commit

Permalink
Remove hardcoded default for ingress api version
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Sep 15, 2023
1 parent 0879db5 commit b2f1de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,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", "networking.k8s.io/v1")
ingress.version = self.runner_params.get("k8s_ingress_api_version")
ingress.create()

def __get_overridable_params(self, job_wrapper, param_key):
Expand Down

0 comments on commit b2f1de0

Please sign in to comment.