Skip to content

Commit

Permalink
Fix: Ensure netdata env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
yatharthranjan committed Mar 19, 2019
1 parent 10915bd commit 3a98628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dcompose-stack/radar-cp-hadoop-stack/etc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/hdfs-connector/sink-hdfs.properties
/webserver/nginx.conf
/webserver/kafka-manager.htpasswd
/webserver/netdata.htpasswd
/webserver/ip-access-control.conf
/webserver/optional-services.conf
/radar-backend/radar.yml
Expand Down
2 changes: 2 additions & 0 deletions dcompose-stack/radar-cp-hadoop-stack/lib/perform-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ ensure_env_default HOTSTORAGE_NAME hotstorage
ensure_env_password POSTGRES_PASSWORD "PostgreSQL password not set in .env."
ensure_env_default KAFKA_MANAGER_USERNAME kafkamanager-user
ensure_env_password KAFKA_MANAGER_PASSWORD "Kafka Manager password not set in .env."
ensure_env_default NETDATA_USERNAME netdata-user
ensure_env_password NETDATA_PASSWORD "NetData password not set in .env."

if [ -z ${PORTAINER_PASSWORD_HASH} ]; then
query_password PORTAINER_PASSWORD "Portainer password not set in .env."
Expand Down

0 comments on commit 3a98628

Please sign in to comment.