From 14aebbc9de3d39a9c2047ceaee8201eccee36167 Mon Sep 17 00:00:00 2001 From: Robert Cerven Date: Mon, 2 May 2022 21:34:31 +0200 Subject: [PATCH] add worker deadlines to osbs client config secret * CLOUDBLD-9910 Signed-off-by: Robert Cerven --- templates/client-config-secret.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/client-config-secret.conf.j2 b/templates/client-config-secret.conf.j2 index 879e409..740fc6a 100644 --- a/templates/client-config-secret.conf.j2 +++ b/templates/client-config-secret.conf.j2 @@ -12,6 +12,9 @@ verify_ssl = {{ cluster.verify_ssl | default('true') }} {% if cluster.scratch_build_node_selector is defined and cluster.scratch_build_node_selector|length %} scratch_build_node_selector = {{ cluster.scratch_build_node_selector }} {% endif %} +{% if cluster.deadline is defined %} +worker_max_run_hours = {{ cluster.deadline }} +{% endif %} {% endfor %} {% endfor %}