Skip to content

Commit 6bbb417

Browse files
test: Adapt the integration tests to Vector 0.58.0 (#1013)
* test: Adapt the smoke test assertion to Vector 0.58.0 * test(logging): Update Vector aggregator Helm values
1 parent 949a6c8 commit 6bbb417

3 files changed

Lines changed: 17 additions & 8 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ All notable changes to this project will be documented in this file.
2020
always defaulting to `Always` ([#994]).
2121
- Internal operator refactoring: introduce a build() step in the reconciler that
2222
assembles all relevant Kubernetes resources before anything is applied ([#961]).
23-
- Bump stackable-operator to 0.118.0 ([#970], [#994]).
23+
- Bump stackable-operator to 0.121.0 ([#970], [#994], [#999], [#1011]).
2424
- The RBAC ServiceAccount and RoleBinding are now built with the operator-rs `v2::rbac`
2525
functions and carry the full set of recommended labels ([#966]).
2626
- BREAKING: The `nodes` role is now required by the CRD; a NifiCluster without it was
@@ -47,9 +47,8 @@ All notable changes to this project will be documented in this file.
4747
operator immediately recreates it with the new labels ([#984]).
4848
- Make operations infallible where dependent on static inputs ([#990]).
4949
- Deprecate support for 2.9.0 ([#997]).
50-
- Bump stackable-operator to 0.119.0 ([#999]).
51-
- Support Vector 0.58.0 ([#1006], [#1012]).
52-
- Bump stackable-operator to 0.121.0 and replace the unmaintained `serde_yaml` with `yaml_serde` ([#1011]).
50+
- Support Vector 0.58.0 ([#1006], [#1012], [#1013]).
51+
- Replace the unmaintained `serde_yaml` with `yaml_serde` ([#1011]).
5352
- All pods now set `securityContext.seccompProfile.type` to `RuntimeDefault` ([#1011]).
5453
- test: Update OPA to 1.20.2 in integration tests ([#1010]).
5554

@@ -83,6 +82,7 @@ All notable changes to this project will be documented in this file.
8382
[#1010]: https://github.com/stackabletech/nifi-operator/pull/1010
8483
[#1011]: https://github.com/stackabletech/nifi-operator/pull/1011
8584
[#1012]: https://github.com/stackabletech/nifi-operator/pull/1012
85+
[#1013]: https://github.com/stackabletech/nifi-operator/pull/1013
8686

8787
## [26.7.0] - 2026-07-21
8888

‎tests/templates/kuttl/logging/nifi-vector-aggregator-values.yaml.j2‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ customConfig:
7676
aggregator:
7777
inputs: [vector]
7878
type: vector
79-
address: {{ lookup('env', 'VECTOR_AGGREGATOR') }}
79+
routing:
80+
endpoints:
81+
- {{ lookup('env', 'VECTOR_AGGREGATOR') }}
8082
buffer:
8183
# Avoid back pressure from VECTOR_AGGREGATOR. The test should
8284
# not fail if the aggregator is not available.

‎tests/templates/kuttl/smoke/35-assert.yaml.j2‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ commands:
387387
# Extends the processed files with the fields "container" and "file"
388388
extended_logs_files:
389389
inputs:
390-
- processed_files_*
390+
- processed_files_stdout
391+
- processed_files_stderr
392+
- processed_files_log4j
391393
type: remap
392394
source: |
393395
del(.source_type)
@@ -425,7 +427,8 @@ commands:
425427
# Add the fields "namespace", "cluster", "role" and "roleGroup" to all logs
426428
extended_logs:
427429
inputs:
428-
- extended_logs_*
430+
- extended_logs_files
431+
- extended_logs_vector
429432
type: remap
430433
source: |
431434
.namespace = "${NAMESPACE}"
@@ -439,7 +442,11 @@ commands:
439442
inputs:
440443
- extended_logs
441444
type: vector
442-
address: ${VECTOR_AGGREGATOR_ADDRESS}
445+
routing:
446+
endpoints:
447+
- ${VECTOR_AGGREGATOR_ADDRESS}
448+
compression: zstd
449+
keepalive: {}
443450
{% endif %}
444451
YAMLEOF
445452
)

0 commit comments

Comments
 (0)