From d98d735f545ea051870646b538050ab194bc9410 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Thu, 8 May 2025 11:31:52 +0200 Subject: [PATCH 1/2] test: Bump OPA to 1.4.2 --- tests/test-definition.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 604bdc68..6728d2cd 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -24,7 +24,7 @@ dimensions: - 1.21.1 - name: opa values: - - 1.0.1 + - 1.4.2 - name: number-of-datanodes values: - "1" From b35cb956f468729d288c7bd789abb42d1d2e5b3a Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Thu, 8 May 2025 11:32:59 +0200 Subject: [PATCH 2/2] test(kerberos): Allow custom images for OPA --- tests/templates/kuttl/kerberos/11-install-opa.yaml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/templates/kuttl/kerberos/11-install-opa.yaml.j2 b/tests/templates/kuttl/kerberos/11-install-opa.yaml.j2 index 699b05c1..67dbe6e1 100644 --- a/tests/templates/kuttl/kerberos/11-install-opa.yaml.j2 +++ b/tests/templates/kuttl/kerberos/11-install-opa.yaml.j2 @@ -5,7 +5,13 @@ 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] }}" +{% else %} productVersion: "{{ test_scenario['values']['opa'] }}" +{% endif %} + pullPolicy: IfNotPresent servers: roleGroups: default: {}