mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 15:26:04 +08:00
turn of exporter only on upgrade
This commit is contained in:
parent
13caec205b
commit
a57c6691f8
|
@ -229,8 +229,10 @@ save_config() { (
|
|||
if [ "$INSTALL_TYPE" = "pro" ]; then
|
||||
save_config_item NETMAKER_TENANT_ID "$TENANT_ID"
|
||||
save_config_item LICENSE_KEY "$LICENSE_KEY"
|
||||
save_config_item METRICS_EXPORTER "on"
|
||||
save_config_item PROMETHEUS "on"
|
||||
if [ "$UPGRADE_FLAG" = "yes" ];then
|
||||
save_config_item METRICS_EXPORTER "on"
|
||||
save_config_item PROMETHEUS "on"
|
||||
fi
|
||||
save_config_item SERVER_IMAGE_TAG "$IMAGE_TAG-ee"
|
||||
else
|
||||
save_config_item "off"
|
||||
|
|
Loading…
Reference in a new issue