diff --git a/tests/templates/kuttl/opa-authorization/12-stop-opa.yaml.j2 b/tests/templates/kuttl/opa-authorization/12-stop-opa.yaml.j2 index 85cdb030..9e11b388 100644 --- a/tests/templates/kuttl/opa-authorization/12-stop-opa.yaml.j2 +++ b/tests/templates/kuttl/opa-authorization/12-stop-opa.yaml.j2 @@ -14,5 +14,8 @@ spec: vectorAggregatorConfigMapName: vector-aggregator-discovery {% endif %} servers: + config: + logging: + enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: default: {} diff --git a/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 b/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 index ac5a3b3c..dca1bebb 100644 --- a/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 +++ b/tests/templates/kuttl/smoke/09-install-opa.yaml.j2 @@ -12,6 +12,9 @@ spec: vectorAggregatorConfigMapName: vector-aggregator-discovery {% endif %} servers: + config: + logging: + enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: default: {} --- diff --git a/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 b/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 index ac5a3b3c..dca1bebb 100644 --- a/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 +++ b/tests/templates/kuttl/smoke_aws/09-install-opa.yaml.j2 @@ -12,6 +12,9 @@ spec: vectorAggregatorConfigMapName: vector-aggregator-discovery {% endif %} servers: + config: + logging: + enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: default: {} ---