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.

140 lines
5.2 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. kube_version: v1.4.3
  7. etcd_version: v3.0.6
  8. #TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
  9. # after migration to container download
  10. calico_version: v1.0.0-beta
  11. calico_cni_version: v1.4.2
  12. weave_version: v1.6.1
  13. flannel_version: v0.6.2
  14. flannel_server_helper_version: 0.1
  15. pod_infra_version: 3.0
  16. # Download URL's
  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: "9cab29764681e9d80da826e4b2cd10841cc01a749e0018867d96dd76a4691548"
  23. calico_cni_ipam_checksum: "09d076b15b791956efee91646e47fdfdcf382db16082cef4f542a9fff7bae172"
  24. weave_checksum: "9bf9d6e5a839e7bcbb28cc00c7acae9d09284faa3e7a3720ca9c2b9e93c68580"
  25. etcd_checksum: "385afd518f93e3005510b7aaa04d38ee4a39f06f5152cd33bb86d4f0c94c7485"
  26. # Containers
  27. # Possible values: host, docker
  28. etcd_deployment_type: "docker"
  29. etcd_image_repo: "quay.io/coreos/etcd"
  30. etcd_image_tag: "{{ etcd_version }}"
  31. flannel_server_helper_image_repo: "gcr.io/google_containers/flannel-server-helper"
  32. flannel_server_helper_image_tag: "{{ flannel_server_helper_version }}"
  33. flannel_image_repo: "quay.io/coreos/flannel"
  34. flannel_image_tag: "{{ flannel_version }}"
  35. calicoctl_image_repo: "calico/ctl"
  36. # TODO(apanchenko): v1.0.0-beta can't execute `node run` from Docker container
  37. # for details see https://github.com/projectcalico/calico-containers/issues/1291
  38. calicoctl_image_tag: "v0.22.0"
  39. calico_node_image_repo: "calico/node"
  40. calico_node_image_tag: "{{ calico_version }}"
  41. calico_cni_image_repo: "calico/cni"
  42. calico_cni_image_tag: "{{ calico_cni_version }}"
  43. hyperkube_image_repo: "quay.io/coreos/hyperkube"
  44. hyperkube_image_tag: "{{ kube_version }}_coreos.0"
  45. pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
  46. pod_infra_image_tag: "{{ pod_infra_version }}"
  47. downloads:
  48. calico_cni_plugin:
  49. dest: calico/bin/calico
  50. version: "{{calico_cni_version}}"
  51. sha256: "{{ calico_cni_checksum }}"
  52. source_url: "{{ calico_cni_download_url }}"
  53. url: "{{ calico_cni_download_url }}"
  54. owner: "root"
  55. mode: "0755"
  56. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  57. calico_cni_plugin_ipam:
  58. dest: calico/bin/calico-ipam
  59. version: "{{calico_cni_version}}"
  60. sha256: "{{ calico_cni_ipam_checksum }}"
  61. source_url: "{{ calico_cni_ipam_download_url }}"
  62. url: "{{ calico_cni_ipam_download_url }}"
  63. owner: "root"
  64. mode: "0755"
  65. enabled: "{{ kube_network_plugin == 'calico' }}"
  66. weave:
  67. dest: weave/bin/weave
  68. version: "{{weave_version}}"
  69. source_url: "{{weave_download_url}}"
  70. url: "{{weave_download_url}}"
  71. sha256: "{{ weave_checksum }}"
  72. owner: "root"
  73. mode: "0755"
  74. enabled: "{{ kube_network_plugin == 'weave' }}"
  75. etcd:
  76. version: "{{etcd_version}}"
  77. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  78. sha256: "{{ etcd_checksum }}"
  79. source_url: "{{ etcd_download_url }}"
  80. url: "{{ etcd_download_url }}"
  81. unarchive: true
  82. owner: "etcd"
  83. mode: "0755"
  84. container: "{{ etcd_deployment_type == 'docker' }}"
  85. repo: "{{ etcd_image_repo }}"
  86. tag: "{{ etcd_image_tag }}"
  87. hyperkube:
  88. container: true
  89. repo: "{{ hyperkube_image_repo }}"
  90. tag: "{{ hyperkube_image_tag }}"
  91. flannel:
  92. container: true
  93. repo: "{{ flannel_image_repo }}"
  94. tag: "{{ flannel_image_tag }}"
  95. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  96. flannel_server_helper:
  97. container: true
  98. repo: "{{ flannel_server_helper_image_repo }}"
  99. tag: "{{ flannel_server_helper_image_tag }}"
  100. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  101. calicoctl:
  102. container: true
  103. repo: "{{ calicoctl_image_repo }}"
  104. tag: "{{ calicoctl_image_tag }}"
  105. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  106. calico_node:
  107. container: true
  108. repo: "{{ calico_node_image_repo }}"
  109. tag: "{{ calico_node_image_tag }}"
  110. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  111. calico_cni:
  112. container: true
  113. repo: "{{ calico_cni_image_repo }}"
  114. tag: "{{ calico_cni_image_tag }}"
  115. enabled: "{{ kube_network_plugin == 'canal' }}"
  116. pod_infra:
  117. container: true
  118. repo: "{{ pod_infra_image_repo }}"
  119. tag: "{{ pod_infra_image_tag }}"
  120. download:
  121. container: "{{ file.container|default('false') }}"
  122. repo: "{{ file.repo|default(None) }}"
  123. tag: "{{ file.tag|default(None) }}"
  124. enabled: "{{ file.enabled|default('true') }}"
  125. dest: "{{ file.dest|default(None) }}"
  126. version: "{{ file.version|default(None) }}"
  127. sha256: "{{ file.sha256|default(None) }}"
  128. source_url: "{{ file.source_url|default(None) }}"
  129. url: "{{ file.url|default(None) }}"
  130. unarchive: "{{ file.unarchive|default('false') }}"
  131. owner: "{{ file.owner|default('kube') }}"
  132. mode: "{{ file.mode|default(None) }}"