You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.6 KiB

  1. ---
  2. local_release_dir: /tmp
  3. # if this is set to true will only download files once
  4. download_run_once: False
  5. # Versions
  6. include_vars: kube_versions.yml
  7. etcd_version: v3.0.1
  8. #TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
  9. # after migration to container download
  10. calico_version: v0.20.0
  11. calico_cni_version: v1.3.1
  12. weave_version: v1.5.0
  13. # Download URL's
  14. kubelet_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-kubelet"
  15. apiserver_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-apiserver"
  16. kubectl_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-kubectl"
  17. etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
  18. calico_cni_download_url: "https://storage.googleapis.com/kargo/{{calico_cni_version}}_calico-cni-plugin"
  19. calico_cni_ipam_download_url: "https://storage.googleapis.com/kargo/{{calico_cni_version}}_calico-cni-plugin-ipam"
  20. weave_download_url: "https://storage.googleapis.com/kargo/{{weave_version}}_weave"
  21. # Checksums
  22. calico_cni_checksum: "ac05cb9254b5aaa5822cf10325983431bd25489147f2edf9dec7e43d99c43e77"
  23. calico_cni_ipam_checksum: "3df6951a30749c279229e7e318e74ac4e41263996125be65257db7cd25097273"
  24. weave_checksum: "28d2c4e2b1ad8600da69882501eba697679aea10a5e61c769aa3a9ee72b0d89a"
  25. etcd_checksum: "7e5d8db2b8a7cec7a93e531c8ae0f3108c66c7d896a2fb6d8768c067923ce0aa"
  26. downloads:
  27. calico_cni_plugin:
  28. dest: calico/bin/calico
  29. version: "{{calico_cni_version}}"
  30. sha256: "{{ calico_cni_checksum }}"
  31. source_url: "{{ calico_cni_download_url }}"
  32. url: "{{ calico_cni_download_url }}"
  33. owner: "root"
  34. mode: "0755"
  35. calico_cni_plugin_ipam:
  36. dest: calico/bin/calico-ipam
  37. version: "{{calico_cni_version}}"
  38. sha256: "{{ calico_cni_ipam_checksum }}"
  39. source_url: "{{ calico_cni_ipam_download_url }}"
  40. url: "{{ calico_cni_ipam_download_url }}"
  41. owner: "root"
  42. mode: "0755"
  43. weave:
  44. dest: weave/bin/weave
  45. version: "{{weave_version}}"
  46. source_url: "{{weave_download_url}}"
  47. url: "{{weave_download_url}}"
  48. sha256: "{{ weave_checksum }}"
  49. owner: "root"
  50. mode: "0755"
  51. etcd:
  52. version: "{{etcd_version}}"
  53. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  54. sha256: "{{ etcd_checksum }}"
  55. source_url: "{{ etcd_download_url }}"
  56. url: "{{ etcd_download_url }}"
  57. unarchive: true
  58. owner: "etcd"
  59. mode: "0755"
  60. kubernetes_kubelet:
  61. version: "{{kube_version}}"
  62. dest: kubernetes/bin/kubelet
  63. sha256: "{{vars['kube_checksum'][kube_version]['kubelet']}}"
  64. source_url: "{{ kubelet_download_url }}"
  65. url: "{{ kubelet_download_url }}"
  66. owner: "kube"
  67. mode: "0755"
  68. kubernetes_kubectl:
  69. dest: kubernetes/bin/kubectl
  70. version: "{{kube_version}}"
  71. sha256: "{{vars['kube_checksum'][kube_version]['kubectl']}}"
  72. source_url: "{{ kubectl_download_url }}"
  73. url: "{{ kubectl_download_url }}"
  74. owner: "kube"
  75. mode: "0755"
  76. kubernetes_apiserver:
  77. dest: kubernetes/bin/kube-apiserver
  78. version: "{{kube_version}}"
  79. sha256: "{{vars['kube_checksum'][kube_version]['kube_apiserver']}}"
  80. source_url: "{{ apiserver_download_url }}"
  81. url: "{{ apiserver_download_url }}"
  82. owner: "kube"
  83. mode: "0755"
  84. download:
  85. enabled: "{{ file.enabled|default('true') }}"
  86. dest: "{{ file.dest|default(None) }}"
  87. version: "{{ file.version|default(None) }}"
  88. sha256: "{{ file.sha256|default(None) }}"
  89. source_url: "{{ file.source_url|default(None) }}"
  90. url: "{{ file.url|default(None) }}"
  91. unarchive: "{{ file.unarchive|default('false') }}"
  92. owner: "{{ file.owner|default('kube') }}"
  93. mode: "{{ file.mode|default(None) }}"