Make an 'allow-ssh-on-all-nodes' firewall rule when on a non-default network.

This commit is contained in:
Max Forbes
2015-01-07 18:08:26 -08:00
parent a19bb1bd29
commit c3322bc97d
2 changed files with 12 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ CLUSTER_API_VERSION="${CLUSTER_API_VERSION:-}"
# because we use the 'default' network by default.
NETWORK="${NETWORK:-default}"
NETWORK_RANGE="${NETWORK_RANGE:-10.240.0.0/16}"
FIREWALL_SSH="${FIREWALL_SSH:-${NETWORK}-allow-ssh}"
GCLOUD="${GCLOUD:-gcloud}"
GCLOUD_CONFIG_DIR="${GCLOUD_CONFIG_DIR:-${HOME}/.config/gcloud/kubernetes}"
ENABLE_CLUSTER_DNS=false