Skip to content

Commit 82ac888

Browse files
committed
test(opa): Fix custom images for OPA
1 parent bd311c2 commit 82ac888

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ metadata:
1010
name: opa
1111
spec:
1212
image:
13-
productVersion: "{{ test_scenario['values']['opa-latest'] }}"
1413
{% if test_scenario['values']['opa-latest'].find(",") > 0 %}
15-
custom: "{{ test_scenario['values']['opa-latest'].split(',')[1] }}"
16-
productVersion: "{{ test_scenario['values']['opa-latest'].split(',')[0] }}"
14+
custom: "{{ test_scenario['values']['opa-latest'].split(',')[1] }}"
15+
productVersion: "{{ test_scenario['values']['opa-latest'].split(',')[0] }}"
1716
{% else %}
18-
productVersion: "{{ test_scenario['values']['opa-latest'] }}"
17+
productVersion: "{{ test_scenario['values']['opa-latest'] }}"
1918
{% endif %}
2019
pullPolicy: IfNotPresent
2120
clusterConfig:

0 commit comments

Comments
 (0)