Read PrimaryCollector parameters from env variables
The following environment variables are expected:
VESMGR_PRICOLLECTOR_USER
VESMGR_PRICOLLECTOR_PASSWORD
VESMGR_PRICOLLECTOR_PASSPHRASE
VESMGR_PRICOLLECTOR_SERVERROOT
VESMGR_PRICOLLECTOR_TOPIC
VESMGR_PRICOLLECTOR_SECURE
Vesmgr now passes the parameters to VESPA via yaml instead of cmd line.
This commit contains also the following changes:
- Correcttion to VESPA configuration: FixAdditionalObject --> FixAdditionalObjects
- Added UT run to Dockerfile as part of the build.
Change-Id: Ib15916dba8c22a19a50da6d77e1e5a54418f2ff4
Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
diff --git a/ves-agent-chart/templates/deployment.yaml b/ves-agent-chart/templates/deployment.yaml
index 4fcb131..1bd4560 100644
--- a/ves-agent-chart/templates/deployment.yaml
+++ b/ves-agent-chart/templates/deployment.yaml
@@ -46,4 +46,7 @@
envFrom:
- configMapRef:
name: vespa-config
+ - secretRef:
+ name: vespa-secrets
+