diff --git a/tests/templates/kuttl/opa/11-install-opa.yaml.j2 b/tests/templates/kuttl/opa/11-install-opa.yaml.j2 index 4b6a0783..a67264ec 100644 --- a/tests/templates/kuttl/opa/11-install-opa.yaml.j2 +++ b/tests/templates/kuttl/opa/11-install-opa.yaml.j2 @@ -5,11 +5,11 @@ metadata: name: opa spec: image: -{% if test_scenario['values']['opa'].find(",") > 0 %} - custom: "{{ test_scenario['values']['opa'].split(',')[1] }}" - productVersion: "{{ test_scenario['values']['opa'].split(',')[0] }}" +{% if test_scenario['values']['opa-latest'].find(",") > 0 %} + custom: "{{ test_scenario['values']['opa-latest'].split(',')[1] }}" + productVersion: "{{ test_scenario['values']['opa-latest'].split(',')[0] }}" {% else %} - productVersion: "{{ test_scenario['values']['opa'] }}" + productVersion: "{{ test_scenario['values']['opa-latest'] }}" {% endif %} pullPolicy: IfNotPresent servers: diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 6ee0f77d..61c371d2 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -30,9 +30,9 @@ dimensions: - name: krb5 values: - 1.21.1 - - name: opa + - name: opa-latest values: - - 1.12.3 + - 1.16.2 # Used for zookeeper, hdfs and hbase - name: listener-class values: @@ -81,7 +81,7 @@ tests: - zookeeper-latest - krb5 - openshift - - opa + - opa-latest - name: orphaned_resources dimensions: - hbase-latest