c12s-kubespray/roles/download/defaults/main.yml

102 lines
3.6 KiB
YAML
Raw Normal View History

2015-12-31 13:07:02 +00:00
---
2015-12-31 15:05:25 +00:00
local_release_dir: /tmp
2015-12-31 13:07:02 +00:00
# if this is set to true will only download files once
download_run_once: False
# Versions
include_vars: kube_versions.yml
2016-07-02 08:33:58 +00:00
etcd_version: v3.0.1
#TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
# after migration to container download
calico_version: v0.20.0
calico_cni_version: v1.3.1
2016-04-20 15:09:09 +00:00
weave_version: v1.5.0
2015-12-31 15:05:25 +00:00
# Download URL's
kubelet_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-kubelet"
apiserver_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-apiserver"
kubectl_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-kubectl"
2016-03-04 16:39:02 +00:00
etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
calico_cni_download_url: "https://storage.googleapis.com/kargo/{{calico_cni_version}}_calico-cni-plugin"
calico_cni_ipam_download_url: "https://storage.googleapis.com/kargo/{{calico_cni_version}}_calico-cni-plugin-ipam"
weave_download_url: "https://storage.googleapis.com/kargo/{{weave_version}}_weave"
2015-12-31 15:05:25 +00:00
# Checksums
calico_cni_checksum: "ac05cb9254b5aaa5822cf10325983431bd25489147f2edf9dec7e43d99c43e77"
calico_cni_ipam_checksum: "3df6951a30749c279229e7e318e74ac4e41263996125be65257db7cd25097273"
2016-04-20 15:09:09 +00:00
weave_checksum: "28d2c4e2b1ad8600da69882501eba697679aea10a5e61c769aa3a9ee72b0d89a"
2016-07-02 08:33:58 +00:00
etcd_checksum: "7e5d8db2b8a7cec7a93e531c8ae0f3108c66c7d896a2fb6d8768c067923ce0aa"
2015-12-31 15:05:25 +00:00
downloads:
calico_cni_plugin:
2015-12-31 15:05:25 +00:00
dest: calico/bin/calico
2016-03-04 16:39:02 +00:00
version: "{{calico_cni_version}}"
sha256: "{{ calico_cni_checksum }}"
2016-03-04 16:39:02 +00:00
source_url: "{{ calico_cni_download_url }}"
url: "{{ calico_cni_download_url }}"
owner: "root"
mode: "0755"
calico_cni_plugin_ipam:
dest: calico/bin/calico-ipam
2016-03-04 16:39:02 +00:00
version: "{{calico_cni_version}}"
sha256: "{{ calico_cni_ipam_checksum }}"
2016-03-04 16:39:02 +00:00
source_url: "{{ calico_cni_ipam_download_url }}"
url: "{{ calico_cni_ipam_download_url }}"
2016-01-22 15:37:07 +00:00
owner: "root"
mode: "0755"
weave:
2016-02-09 16:16:16 +00:00
dest: weave/bin/weave
2016-03-04 16:39:02 +00:00
version: "{{weave_version}}"
source_url: "{{weave_download_url}}"
2016-02-09 16:16:16 +00:00
url: "{{weave_download_url}}"
sha256: "{{ weave_checksum }}"
owner: "root"
mode: "0755"
etcd:
2016-03-04 16:39:02 +00:00
version: "{{etcd_version}}"
dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
sha256: "{{ etcd_checksum }}"
2016-03-04 16:39:02 +00:00
source_url: "{{ etcd_download_url }}"
url: "{{ etcd_download_url }}"
unarchive: true
2016-01-22 15:37:07 +00:00
owner: "etcd"
mode: "0755"
kubernetes_kubelet:
2016-03-04 16:39:02 +00:00
version: "{{kube_version}}"
2015-12-31 15:05:25 +00:00
dest: kubernetes/bin/kubelet
2016-06-26 19:14:45 +00:00
sha256: "{{vars['kube_checksum'][kube_version]['kubelet']}}"
2016-03-04 16:39:02 +00:00
source_url: "{{ kubelet_download_url }}"
url: "{{ kubelet_download_url }}"
2016-01-22 15:37:07 +00:00
owner: "kube"
mode: "0755"
kubernetes_kubectl:
2015-12-31 15:05:25 +00:00
dest: kubernetes/bin/kubectl
2016-03-04 16:39:02 +00:00
version: "{{kube_version}}"
2016-06-26 19:14:45 +00:00
sha256: "{{vars['kube_checksum'][kube_version]['kubectl']}}"
2016-03-04 16:39:02 +00:00
source_url: "{{ kubectl_download_url }}"
url: "{{ kubectl_download_url }}"
2016-01-22 15:37:07 +00:00
owner: "kube"
mode: "0755"
kubernetes_apiserver:
dest: kubernetes/bin/kube-apiserver
2016-03-04 16:39:02 +00:00
version: "{{kube_version}}"
2016-06-26 19:14:45 +00:00
sha256: "{{vars['kube_checksum'][kube_version]['kube_apiserver']}}"
2016-03-04 16:39:02 +00:00
source_url: "{{ apiserver_download_url }}"
url: "{{ apiserver_download_url }}"
owner: "kube"
mode: "0755"
download:
enabled: "{{ file.enabled|default('true') }}"
dest: "{{ file.dest|default(None) }}"
version: "{{ file.version|default(None) }}"
sha256: "{{ file.sha256|default(None) }}"
source_url: "{{ file.source_url|default(None) }}"
url: "{{ file.url|default(None) }}"
unarchive: "{{ file.unarchive|default('false') }}"
owner: "{{ file.owner|default('kube') }}"
mode: "{{ file.mode|default(None) }}"