Skip to content

Commit

Permalink
Add to makefile ELASTICSEARCH_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjourne committed Nov 15, 2023
1 parent 27580bf commit 6c75e17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export ES_PROXY_PATH = /${API_PATH}/backend/v0/search

export NPM_REGISTRY = $(shell echo $$NPM_REGISTRY )
export NPM_VERBOSE = 1
export ELASTICSEARCH_PASSWORD=elastic

# KIBANA
export KIBANA_HOST = kibana
Expand Down Expand Up @@ -192,7 +193,7 @@ deploy-traefik:

deploy-k8s-ekl: create-namespace
@echo $@
#helm upgrade --install --values ${KUBE_DIR}/ekl/elasticsearch.yaml elasticsearch elastic/elasticsearch -n ridoc
@cat ${KUBE_DIR}/ekl/elasticsearch.yaml | envsubst | helm upgrade --install elasticsearch elastic/elasticsearch -n ridoc -f -
@cat ${KUBE_DIR}/ekl/kibana.yaml | envsubst | helm upgrade --install kibana elastic/kibana -n ridoc -f -
#@cat ${KUBE_DIR}/ekl/logstash.yaml | envsubst | helm upgrade --install logstash elastic/logstash -n ridoc -f -

Expand Down
2 changes: 1 addition & 1 deletion artifacts.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export INDEX_NAME = bld
export DATA_PATH = /data
export ENV_FILE = ${APP_PATH}/backend/tests/${INDEX_NAME}/.env-${INDEX_NAME}
export FRONTEND_STATIC_USER=${APP_PATH}/backend/tests/${INDEX_NAME}/static
export DC_UP_ARGS=
export DC_UP_ARGS=
2 changes: 1 addition & 1 deletion deployments/ekl/elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ clusterHealthCheckParams: "timeout=30s"
#"wait_for_status=green&timeout=1s"
secret:
enabled: true
password: "elastic"
password: ${ELASTICSEARCH_PASSWORD}
# generated randomly if not defined

protocol: https
Expand Down

0 comments on commit 6c75e17

Please sign in to comment.