Skip to content

Commit a15c61a

Browse files
authored
Fix a missing custom test template (#484)
1 parent cf42680 commit a15c61a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/templates/kuttl/cluster-operation/40-restart-hive.yaml.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ metadata:
55
name: test-hive
66
spec:
77
image:
8+
{% if test_scenario['values']['hive-latest'].find(",") > 0 %}
9+
custom: "{{ test_scenario['values']['hive-latest'].split(',')[1] }}"
10+
productVersion: "{{ test_scenario['values']['hive-latest'].split(',')[0] }}"
11+
{% else %}
812
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
13+
{% endif %}
914
pullPolicy: IfNotPresent
1015
clusterConfig:
1116
database:

0 commit comments

Comments
 (0)