Skip to content
main.yml 3.87 KiB
Newer Older
ant31's avatar
ant31 committed
local_release_dir: /tmp
# if this is set to true will only download files once
download_run_once: False

Smaine Kahlouch's avatar
Smaine Kahlouch committed
# Versions
include_vars: kube_versions.yml

Smana's avatar
Smana committed
etcd_version: v2.3.7
calico_version: v0.20.0
calico_cni_version: v1.3.1
Smana's avatar
Smana committed
weave_version: v1.5.0
ant31's avatar
ant31 committed

Smaine Kahlouch's avatar
Smaine Kahlouch committed
# 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"
etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
calico_download_url: "https://storage.googleapis.com/kargo/{{calico_version}}_calico"
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"
ant31's avatar
ant31 committed

Smaine Kahlouch's avatar
Smaine Kahlouch committed
# Checksums
calico_checksum: "0d1d15c03ea53cc1a16f2faf02626ed8951829ece410a36fdb93e5a19fbab68d"
calico_cni_checksum: "ac05cb9254b5aaa5822cf10325983431bd25489147f2edf9dec7e43d99c43e77"
calico_cni_ipam_checksum: "3df6951a30749c279229e7e318e74ac4e41263996125be65257db7cd25097273"
Smana's avatar
Smana committed
weave_checksum: "28d2c4e2b1ad8600da69882501eba697679aea10a5e61c769aa3a9ee72b0d89a"
Smana's avatar
Smana committed
etcd_checksum: "ab102d271026a4060c9f85ecad11f454d82b1df7b8e676cc3da69f67eb078729"
ant31's avatar
ant31 committed
downloads:
ant31's avatar
ant31 committed
    dest: calico/bin/calicoctl
    version: "{{calico_version}}"
Smaine Kahlouch's avatar
Smaine Kahlouch committed
    sha256: "{{ calico_checksum }}"
    source_url: "{{ calico_download_url }}"
Smaine Kahlouch's avatar
Smaine Kahlouch committed
    url: "{{ calico_download_url }}"
    owner: "root"
    mode: "0755"
  calico_cni_plugin:
ant31's avatar
ant31 committed
    dest: calico/bin/calico
    version: "{{calico_cni_version}}"
    sha256: "{{ calico_cni_checksum }}"
    source_url: "{{ calico_cni_download_url }}"
    url: "{{ calico_cni_download_url }}"
    owner: "root"
    mode: "0755"
  calico_cni_plugin_ipam:
    dest: calico/bin/calico-ipam
    version: "{{calico_cni_version}}"
    sha256: "{{ calico_cni_ipam_checksum }}"
    source_url: "{{ calico_cni_ipam_download_url }}"
    url: "{{ calico_cni_ipam_download_url }}"
    owner: "root"
    mode: "0755"
Smana's avatar
Smana committed
    dest: weave/bin/weave
    version: "{{weave_version}}"
    source_url: "{{weave_download_url}}"
Smana's avatar
Smana committed
    url: "{{weave_download_url}}"
    sha256: "{{ weave_checksum }}"
    owner: "root"
    mode: "0755"
    version: "{{etcd_version}}"
Smaine Kahlouch's avatar
Smaine Kahlouch committed
    dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
    sha256: "{{ etcd_checksum }}"
    source_url: "{{ etcd_download_url }}"
Smaine Kahlouch's avatar
Smaine Kahlouch committed
    url: "{{ etcd_download_url }}"
    unarchive: true
    owner: "etcd"
    mode: "0755"
  kubernetes_kubelet:
    version: "{{kube_version}}"
ant31's avatar
ant31 committed
    dest: kubernetes/bin/kubelet
    sha256: "{{vars['kube_checksum'][kube_version]['kubelet']}}"
    source_url: "{{ kubelet_download_url }}"
    url: "{{ kubelet_download_url }}"
    owner: "kube"
    mode: "0755"
  kubernetes_kubectl:
ant31's avatar
ant31 committed
    dest: kubernetes/bin/kubectl
    version: "{{kube_version}}"
    sha256: "{{vars['kube_checksum'][kube_version]['kubectl']}}"
    source_url: "{{ kubectl_download_url }}"
    url: "{{ kubectl_download_url }}"
    owner: "kube"
    mode: "0755"
  kubernetes_apiserver:
    dest: kubernetes/bin/kube-apiserver
    version: "{{kube_version}}"
    sha256: "{{vars['kube_checksum'][kube_version]['kube_apiserver']}}"
    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) }}"