Skip to content

Commit 273600f

Browse files
authored
Fix custom image usage in overrides test (#633)
1 parent 891fbed commit 273600f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/templates/kuttl/overrides/20-install-druid.yaml.j2

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

0 commit comments

Comments
 (0)