From 67fb03e5dc7fb5d4def5ae2f126771f5125fcf69 Mon Sep 17 00:00:00 2001 From: Siegfried Weber Date: Fri, 16 Oct 2026 13:06:18 +0200 Subject: [PATCH 1/2] test: Adapt the smoke test assertion to Vector 0.58.0 --- CHANGELOG.md | 3 ++- tests/templates/kuttl/smoke/13-assert.yaml.j2 | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 456ec601..81654587 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,7 +69,7 @@ All notable changes to this project will be documented in this file. - The operator now watches all resources that it creates and early-exits the reconcile action when the cluster is marked for deletion ([#882]). - Make operations infallible where dependent on static inputs ([#886], [#889]). -- Support Vector 0.58.0 ([#899], [#905]). +- Support Vector 0.58.0 ([#899], [#905], [#906]). - test: Bump opa latest to 1.20.2, removed 1.12.3 ([#901]). - Update docs to version 1.20.2 ([#903]). - All pods now set `securityContext.seccompProfile.type` to `RuntimeDefault` ([#904]). @@ -110,6 +110,7 @@ All notable changes to this project will be documented in this file. [#903]: https://github.com/stackabletech/opa-operator/pull/903 [#904]: https://github.com/stackabletech/opa-operator/pull/904 [#905]: https://github.com/stackabletech/opa-operator/pull/905 +[#906]: https://github.com/stackabletech/opa-operator/pull/906 ## [26.7.0] - 2026-07-21 diff --git a/tests/templates/kuttl/smoke/13-assert.yaml.j2 b/tests/templates/kuttl/smoke/13-assert.yaml.j2 index e8a27f28..d01435a6 100644 --- a/tests/templates/kuttl/smoke/13-assert.yaml.j2 +++ b/tests/templates/kuttl/smoke/13-assert.yaml.j2 @@ -84,8 +84,8 @@ commands: echo "ERROR: ConfigMap test-opa-server-default is missing the vector.yaml entry." exit 1 fi - for marker in 'files_opa_json' 'files_tracing_rs' 'address: ${VECTOR_AGGREGATOR_ADDRESS}'; do - if ! printf '%s\n' "$actual" | grep -qF "$marker"; then + for marker in 'files_opa_json' 'files_tracing_rs' '- ${VECTOR_AGGREGATOR_ADDRESS}'; do + if ! printf '%s\n' "$actual" | grep -qF -- "$marker"; then echo "ERROR: vector.yaml in ConfigMap test-opa-server-default is missing expected content: $marker" echo "=== actual ===" printf '%s\n' "$actual" From 3b2035a8e87c1045ce8eef74deca8cf654208d04 Mon Sep 17 00:00:00 2001 From: Siegfried Weber Date: Fri, 16 Oct 2026 15:33:56 +0200 Subject: [PATCH 2/2] test(logging): Update Vector aggregator Helm values --- .../kuttl/logging/opa-vector-aggregator-values.yaml.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/templates/kuttl/logging/opa-vector-aggregator-values.yaml.j2 b/tests/templates/kuttl/logging/opa-vector-aggregator-values.yaml.j2 index 64f3e288..f084db8e 100644 --- a/tests/templates/kuttl/logging/opa-vector-aggregator-values.yaml.j2 +++ b/tests/templates/kuttl/logging/opa-vector-aggregator-values.yaml.j2 @@ -84,7 +84,9 @@ customConfig: aggregator: inputs: [vector] type: vector - address: {{ lookup('env', 'VECTOR_AGGREGATOR') }} + routing: + endpoints: + - {{ lookup('env', 'VECTOR_AGGREGATOR') }} buffer: # Avoid back pressure from VECTOR_AGGREGATOR. The test should # not fail if the aggregator is not available.