#!/bin/bash # Copyright 2015 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## Contains configuration values for the Binaries downloading and unpacking. # Directory to store release packages that will be downloaded. RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads} # Define flannel version to use. FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.3"} # Define etcd version to use. ETCD_VERSION=${ETCD_VERSION:-"2.0.12"} # Define k8s version to use. K8S_VERSION=${K8S_VERSION:-"1.0.4"} FLANNEL_DOWNLOAD_URL=\ "https://github.com/coreos/flannel/releases/download/v${FLANNEL_VERSION}/flannel-${FLANNEL_VERSION}-linux-amd64.tar.gz" ETCD_DOWNLOAD_URL=\ "https://github.com/coreos/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-linux-amd64.tar.gz" K8S_DOWNLOAD_URL=\ "https://github.com/kubernetes/kubernetes/releases/download/v${K8S_VERSION}/kubernetes.tar.gz"