diff --git a/stacks/_templates/vector-aggregator.yaml b/stacks/_templates/vector-aggregator.yaml index 9b6c3c5f..469ec23f 100644 --- a/stacks/_templates/vector-aggregator.yaml +++ b/stacks/_templates/vector-aggregator.yaml @@ -23,7 +23,7 @@ options: inputs: - vector endpoints: - - https://opensearch.default.svc.cluster.local:9200 + - $OPENSEARCH_HOSTS mode: bulk # The auto-detection of the API version does not work in Vector # 0.41.1 for OpenSearch, so the version must be set explicitly @@ -38,6 +38,9 @@ options: strategy: basic user: admin password: {{ openSearchAdminPassword }} + envFrom: + - configMapRef: + name: opensearch extraVolumeMounts: # Use the certificate generated by the secret-operator - name: tls