Skip to content

Commit

Permalink
fix directory path for prometheus install.sh (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomcli authored May 12, 2022
1 parent eb51210 commit c7356da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install/prometheus/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ helm repo update
helm --namespace prometheus-system install prometheus-operator prometheus-community/kube-prometheus-stack --create-namespace

# set the place of monitor files
monitor_dir=../../config/prometheus
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null && pwd)"
monitor_dir=${DIR}/../../config/prometheus

# start to install monitor
pushd ${monitor_dir}
Expand Down

0 comments on commit c7356da

Please sign in to comment.