Commit d70206fa authored by Matteo Di Carlo's avatar Matteo Di Carlo
Browse files

fix

parent c5b0550d
......@@ -5,9 +5,19 @@ BUILDDIRS = $(DIRS:%=build-%)
PUSHDIRS = $(DIRS:%=push-%)
HELM_HOST ?= https://nexus.engageska-portugal.pt
MINIKUBE ?= true
INGRESS_HOST ?= mid.integration.engageska-portugal.pt#tango.rest.mid.integration.engageska-portugal.pt
DASHBOARDS ?= dashboard.json archiver.json state.json
DATABASEDS ?= databaseds-tango-base-test
INGRESS_HOST ?= mid.integration.engageska-portugal.pt##for the target namespace to monitor
DASHBOARDS ?= dashboard.json archiver.json state.json##dashboard to template with sed
DATABASEDS ?= databaseds-tango-base-test##tango databaseds pod name
TANGO_HOST =? $(DATABASEDS).integration-mid.svc.cluster.local:10000
TANGODB ?= tango-base-tangodb.integration-mid.svc.cluster.local:3306## TANGO DB data source
ARCHIVERDB ?= archiver-hdbppdb-db.integration-mid.svc.cluster.local:3306## ARCHIVER DB data source
ELASTIC ?= 192.168.93.94:9200## Elastic data source
WEBJIVE ?= webjive-webjive-test-mid## Webjive pod name
WEBJIVE_AUTH_URL ?= http://$(WEBJIVE).integration-mid.svc.cluster.local:8080/login##Webjive authentication url
TANGOGQL_URL ?= http://$(WEBJIVE).integration-mid.svc.cluster.local:5004/db
WEBJIVE_USER ?= "mandatory" ## webjive username
WEBJIVE_PASS ?= "mandatory" ## webjive password
.DEFAULT_GOAL := help
......@@ -33,8 +43,8 @@ help: ## show this help.
tpl_dashboards: ## tpl for dashboards
for dash in $(DASHBOARDS); do \
sed -i.bak 's/INGRESS_HOST/$(INGRESS_HOST)/' helm-chart/data/dashboards/$$dash; \
sed -i 's/__DATABASEDS__/$(DATABASEDS)/' helm-chart/data/dashboards/$$dash; \
sed -i.bak 's/INGRESS_HOST/$(INGRESS_HOST)/g' helm-chart/data/dashboards/$$dash; \
sed -i 's/__DATABASEDS__/$(DATABASEDS)/g' helm-chart/data/dashboards/$$dash; \
done
publish-chart: ## publish chart on the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment