From b236484b7873ab09a796d00f9788533f0a724180 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Tue, 26 May 2026 12:02:52 +0200 Subject: [PATCH] chore: Bump OPA to 1.16.2 --- .../kuttl/opa-authorization/10-install-opa.yaml.j2 | 8 ++++---- tests/templates/kuttl/smoke/09-install-opa.yaml.j2 | 7 ++++++- tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 | 7 ++++++- tests/test-definition.yaml | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 b/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 index afcb1c66..ad0867f2 100644 --- a/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 +++ b/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 @@ -24,11 +24,11 @@ commands: 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 clusterConfig: diff --git a/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 b/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 index 6f712b8d..22c3f82e 100644 --- a/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 +++ b/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 @@ -5,7 +5,12 @@ metadata: name: opa spec: image: - productVersion: "{{ test_scenario['values']['opa'] }}" +{% 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-latest'] }}" +{% endif %} pullPolicy: IfNotPresent {% if lookup('env', 'VECTOR_AGGREGATOR') %} clusterConfig: diff --git a/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 b/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 index 6f712b8d..22c3f82e 100644 --- a/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 +++ b/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 @@ -5,7 +5,12 @@ metadata: name: opa spec: image: - productVersion: "{{ test_scenario['values']['opa'] }}" +{% 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-latest'] }}" +{% endif %} pullPolicy: IfNotPresent {% if lookup('env', 'VECTOR_AGGREGATOR') %} clusterConfig: diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 4fac2863..8e38057f 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -38,9 +38,9 @@ dimensions: - name: hive-latest values: - 4.2.0 - - name: opa + - name: opa-latest values: - - 1.12.3 + - 1.16.2 - name: hdfs values: - 3.4.2