Skip to content

Commit 591a23e

Browse files
committed
test(opa): Allow custom images for OPA
1 parent d7be66e commit 591a23e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/templates/kuttl/opa/11-install-opa.yaml.j2

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

0 commit comments

Comments
 (0)