From a15c61aa03aa8b0830fe13d7f03c1d19e66449fa Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Mon, 15 Jul 2024 17:55:49 +0200 Subject: [PATCH] Fix a missing custom test template (#484) --- .../kuttl/cluster-operation/40-restart-hive.yaml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/templates/kuttl/cluster-operation/40-restart-hive.yaml.j2 b/tests/templates/kuttl/cluster-operation/40-restart-hive.yaml.j2 index ac5669a9..91905872 100644 --- a/tests/templates/kuttl/cluster-operation/40-restart-hive.yaml.j2 +++ b/tests/templates/kuttl/cluster-operation/40-restart-hive.yaml.j2 @@ -5,7 +5,12 @@ metadata: name: test-hive spec: image: +{% if test_scenario['values']['hive-latest'].find(",") > 0 %} + custom: "{{ test_scenario['values']['hive-latest'].split(',')[1] }}" + productVersion: "{{ test_scenario['values']['hive-latest'].split(',')[0] }}" +{% else %} productVersion: "{{ test_scenario['values']['hive-latest'] }}" +{% endif %} pullPolicy: IfNotPresent clusterConfig: database: