Skip to content

Commit 2ae3c2e

Browse files
authored
chore: Bump OPA to 1.16.2 (#893)
1 parent 7004062 commit 2ae3c2e

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ commands:
2424
name: opa
2525
spec:
2626
image:
27-
{% if test_scenario['values']['opa'].find(",") > 0 %}
28-
custom: "{{ test_scenario['values']['opa'].split(',')[1] }}"
29-
productVersion: "{{ test_scenario['values']['opa'].split(',')[0] }}"
27+
{% if test_scenario['values']['opa-latest'].find(",") > 0 %}
28+
custom: "{{ test_scenario['values']['opa-latest'].split(',')[1] }}"
29+
productVersion: "{{ test_scenario['values']['opa-latest'].split(',')[0] }}"
3030
{% else %}
31-
productVersion: "{{ test_scenario['values']['opa'] }}"
31+
productVersion: "{{ test_scenario['values']['opa-latest'] }}"
3232
{% endif %}
3333
pullPolicy: IfNotPresent
3434
clusterConfig:

tests/templates/kuttl/smoke/09-install-opa.yaml.j2

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

tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2

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

tests/test-definition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ dimensions:
3838
- name: hive-latest
3939
values:
4040
- 4.2.0
41-
- name: opa
41+
- name: opa-latest
4242
values:
43-
- 1.12.3
43+
- 1.16.2
4444
- name: hdfs
4545
values:
4646
- 3.4.2

0 commit comments

Comments
 (0)