Update scripts to add PodCIDR firewall rule for dns

This commit is contained in:
Ivan Font
2017-01-20 09:22:27 -08:00
parent e8f056a2ba
commit a7da79ad54
8 changed files with 23 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/bash
set -x
if [[ -z ${NUM_CONTROLLERS} || -z ${NUM_WORKERS} ]]; then
echo "Must set NUM_CONTROLLERS and NUM_WORKERS environment variables"
if [[ -z ${NUM_CONTROLLERS} || -z ${NUM_WORKERS} || -z ${KUBERNETES_VERSION} ]]; then
echo "Must set NUM_CONTROLLERS, NUM_WORKERS and KUBERNETES_VERSION (e.g. 'vX.Y.Z') environment variables"
exit 1
fi