Skip to content

Commit

Permalink
filter out master by role without relying on name (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs authored and tennix committed Nov 8, 2018
1 parent 7fbf8ac commit df07912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/local-dind/pv-hosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail

PV_NUMS=${PV_NUMS:-$(seq 0 3)}
for node in $(kubectl get nodes --no-headers | awk '{print $1}' | grep -v master) ; do
for node in $(kubectl get nodes --no-headers | grep -v master | awk '{print $1}') ; do
echo "$(dirname "$0")/pv-create.sh" "$node" ${PV_NUMS}
"$(dirname "$0")/pv-create.sh" "$node" ${PV_NUMS}
done

0 comments on commit df07912

Please sign in to comment.