Skip to content

Commit 7a0f32b

Browse files
test: Enable the Vector agent in all integration tests
1 parent 8393709 commit 7a0f32b

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

tests/templates/kuttl/external-access/opensearch.yaml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ spec:
1717
vectorAggregatorConfigMapName: vector-aggregator-discovery
1818
{% endif %}
1919
nodes:
20+
config:
21+
logging:
22+
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2023
roleGroups:
2124
cluster-manager:
2225
config:

tests/templates/kuttl/ldap/21-install-opensearch.yaml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ spec:
1717
vectorAggregatorConfigMapName: vector-aggregator-discovery
1818
{% endif %}
1919
nodes:
20+
config:
21+
logging:
22+
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2023
roleGroups:
2124
default:
2225
replicas: 3

tests/templates/kuttl/metrics/20-install-opensearch.yaml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ spec:
1717
vectorAggregatorConfigMapName: vector-aggregator-discovery
1818
{% endif %}
1919
nodes:
20+
config:
21+
logging:
22+
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2023
roleGroups:
2124
default:
2225
config:

tests/templates/kuttl/smoke/10-install-opensearch.yaml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ spec:
1717
vectorAggregatorConfigMapName: vector-aggregator-discovery
1818
{% endif %}
1919
nodes:
20+
config:
21+
logging:
22+
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2023
roleGroups:
2124
cluster-manager:
2225
config:

0 commit comments

Comments
 (0)