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.

109 lines
3.9 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. calico_version: v0.20.0
  9. calico_cni_version: v1.3.1
  10. weave_version: v1.5.0
  11. # Download URL's
  12. kubelet_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-kubelet"
  13. apiserver_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-apiserver"
  14. kubectl_download_url: "https://storage.googleapis.com/kargo/{{kube_version}}_kubernetes-kubectl"
  15. etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
  16. calico_download_url: "https://storage.googleapis.com/kargo/{{calico_version}}_calico"
  17. calico_cni_download_url: "https://storage.googleapis.com/kargo/{{calico_cni_version}}_calico-cni-plugin"
  18. calico_cni_ipam_download_url: "https://storage.googleapis.com/kargo/{{calico_cni_version}}_calico-cni-plugin-ipam"
  19. weave_download_url: "https://storage.googleapis.com/kargo/{{weave_version}}_weave"
  20. # Checksums
  21. calico_checksum: "0d1d15c03ea53cc1a16f2faf02626ed8951829ece410a36fdb93e5a19fbab68d"
  22. calico_cni_checksum: "ac05cb9254b5aaa5822cf10325983431bd25489147f2edf9dec7e43d99c43e77"
  23. calico_cni_ipam_checksum: "3df6951a30749c279229e7e318e74ac4e41263996125be65257db7cd25097273"
  24. weave_checksum: "28d2c4e2b1ad8600da69882501eba697679aea10a5e61c769aa3a9ee72b0d89a"
  25. etcd_checksum: "7e5d8db2b8a7cec7a93e531c8ae0f3108c66c7d896a2fb6d8768c067923ce0aa"
  26. downloads:
  27. calico:
  28. dest: calico/bin/calicoctl
  29. version: "{{calico_version}}"
  30. sha256: "{{ calico_checksum }}"
  31. source_url: "{{ calico_download_url }}"
  32. url: "{{ calico_download_url }}"
  33. owner: "root"
  34. mode: "0755"
  35. calico_cni_plugin:
  36. dest: calico/bin/calico
  37. version: "{{calico_cni_version}}"
  38. sha256: "{{ calico_cni_checksum }}"
  39. source_url: "{{ calico_cni_download_url }}"
  40. url: "{{ calico_cni_download_url }}"
  41. owner: "root"
  42. mode: "0755"
  43. calico_cni_plugin_ipam:
  44. dest: calico/bin/calico-ipam
  45. version: "{{calico_cni_version}}"
  46. sha256: "{{ calico_cni_ipam_checksum }}"
  47. source_url: "{{ calico_cni_ipam_download_url }}"
  48. url: "{{ calico_cni_ipam_download_url }}"
  49. owner: "root"
  50. mode: "0755"
  51. weave:
  52. dest: weave/bin/weave
  53. version: "{{weave_version}}"
  54. source_url: "{{weave_download_url}}"
  55. url: "{{weave_download_url}}"
  56. sha256: "{{ weave_checksum }}"
  57. owner: "root"
  58. mode: "0755"
  59. etcd:
  60. version: "{{etcd_version}}"
  61. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  62. sha256: "{{ etcd_checksum }}"
  63. source_url: "{{ etcd_download_url }}"
  64. url: "{{ etcd_download_url }}"
  65. unarchive: true
  66. owner: "etcd"
  67. mode: "0755"
  68. kubernetes_kubelet:
  69. version: "{{kube_version}}"
  70. dest: kubernetes/bin/kubelet
  71. sha256: "{{vars['kube_checksum'][kube_version]['kubelet']}}"
  72. source_url: "{{ kubelet_download_url }}"
  73. url: "{{ kubelet_download_url }}"
  74. owner: "kube"
  75. mode: "0755"
  76. kubernetes_kubectl:
  77. dest: kubernetes/bin/kubectl
  78. version: "{{kube_version}}"
  79. sha256: "{{vars['kube_checksum'][kube_version]['kubectl']}}"
  80. source_url: "{{ kubectl_download_url }}"
  81. url: "{{ kubectl_download_url }}"
  82. owner: "kube"
  83. mode: "0755"
  84. kubernetes_apiserver:
  85. dest: kubernetes/bin/kube-apiserver
  86. version: "{{kube_version}}"
  87. sha256: "{{vars['kube_checksum'][kube_version]['kube_apiserver']}}"
  88. source_url: "{{ apiserver_download_url }}"
  89. url: "{{ apiserver_download_url }}"
  90. owner: "kube"
  91. mode: "0755"
  92. download:
  93. enabled: "{{ file.enabled|default('true') }}"
  94. dest: "{{ file.dest|default(None) }}"
  95. version: "{{ file.version|default(None) }}"
  96. sha256: "{{ file.sha256|default(None) }}"
  97. source_url: "{{ file.source_url|default(None) }}"
  98. url: "{{ file.url|default(None) }}"
  99. unarchive: "{{ file.unarchive|default('false') }}"
  100. owner: "{{ file.owner|default('kube') }}"
  101. mode: "{{ file.mode|default(None) }}"