Move kube_version to group_vars/all to allow easier changing of version

Also allows to perform version dependent logic in Ansible roles.
This commit is contained in:
Alexander Block 2016-12-09 10:33:04 +01:00
parent 444b1dafdc
commit 665ce82d71
3 changed files with 3 additions and 4 deletions

View file

@ -4,6 +4,9 @@ bootstrap_os: none
# Directory where the binaries will be installed # Directory where the binaries will be installed
bin_dir: /usr/local/bin bin_dir: /usr/local/bin
## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: 1.4.6
# Where the binaries will be downloaded. # Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G) # Note: ensure that you've enough disk space (about 1G)
local_release_dir: "/tmp/releases" local_release_dir: "/tmp/releases"

View file

@ -15,8 +15,6 @@ download_compress: 9
download_localhost: False download_localhost: False
# Versions # Versions
kube_version: v1.4.6
etcd_version: v3.0.6 etcd_version: v3.0.6
#TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults #TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
# after migration to container download # after migration to container download

View file

@ -2,8 +2,6 @@
local_release_dir: /tmp local_release_dir: /tmp
# Versions # Versions
kube_version: v1.4.6
etcd_version: v3.0.6 etcd_version: v3.0.6
calico_version: v0.23.0 calico_version: v0.23.0
calico_cni_version: v1.4.2 calico_cni_version: v1.4.2