2 - import_playbook: ../common-packer/provision/docker.yaml
9 kubectl_version: 1.15.11
11 helm3_3_version: 3.3.4
12 helm3_5_version: 3.5.1
13 chartmuseum_version: 0.12.0
16 - name: 'Install kubectl {{kubectl_version}}'
18 url: "https://storage.googleapis.com/kubernetes-release/release/v{{kubectl_version}}/bin/linux/amd64/kubectl"
19 dest: /usr/local/bin/kubectl
23 - name: 'Install Helm {{helm_version}}'
25 - name: 'Fetch tar.gz for {{helm_version}}'
27 url: "http://storage.googleapis.com/kubernetes-helm/helm-v{{helm_version}}-linux-amd64.tar.gz"
28 dest: "/tmp/helm-v{{helm_version}}-linux-amd64.tar.gz"
29 - name: 'Unarchive {{helm_version}}'
31 src: "/tmp/helm-v{{helm_version}}-linux-amd64.tar.gz"
35 - name: 'Move {{helm_version}} bin to /usr/local/bin and set as executable'
36 command: 'mv /tmp/linux-amd64/helm /usr/local/bin/helm'
38 - name: 'Check Helm {{helm_version}}'
41 - name: 'Install Helm 3.3 {{helm3_3_version}}'
43 - name: 'Create directory /tmp/helm3_3'
47 - name: 'Fetch tar.gz for Helm 3.3'
49 url: "https://get.helm.sh/helm-v{{helm3_3_version}}-linux-amd64.tar.gz"
51 - name: 'Unarchive Helm 3.3'
53 src: "/tmp/helm3_3/helm-v{{helm3_3_version}}-linux-amd64.tar.gz"
57 - name: 'Move Helm 3.3 bin to /usr/local/bin and set as executable'
58 command: 'mv /tmp/helm3_3/linux-amd64/helm /usr/local/bin/helm3.3'
60 - name: 'Check Helm 3.3'
61 command: 'which helm3.3'
62 - name: 'Check kubectl {{kubectl_version}}'
63 command: 'which kubectl'
65 - name: 'Install Helm 3.3'
67 echo "----> Installing helm 3.3"
68 wget 'https://get.helm.sh/helm-v{{helm3_3_version}}-linux-amd64.tar.gz'
69 tar -xvf 'https://get.helm.sh/helm-v{{helm3_3_version}}-linux-amd64.tar.gz'
70 mv linux-amd64/helm /usr/local/bin/helm3.3
74 - name: 'Install Helm3.5 {{helm3_5_version}}'
76 - name: 'Create directory /tmp/helm3.5'
80 - name: 'Fetch tar.gz for Helm 3.5'
82 url: "https://get.helm.sh/helm-v{{helm3_5_version}}-linux-amd64.tar.gz"
84 - name: 'Unarchive Helm 3.5'
86 src: "/tmp/helm3.5/helm-v{{helm3_5_version}}-linux-amd64.tar.gz"
90 - name: 'Move Helm 3.5 bin to /usr/local/bin and set as executable'
91 command: 'mv /tmp/helm3.5/linux-amd64/helm /usr/local/bin/helm3.5'
93 - name: 'Check Helm 3.5'
94 command: 'which helm3.5'
95 - name: 'Check kubectl {{kubectl_version}}'
96 command: 'which kubectl'
98 - name: 'Install Helm 3.5'
100 echo "----> Installing helm3.5"
101 wget 'https://get.helm.sh/helm-v{{helm3_5_version}}-linux-amd64.tar.gz'
102 tar -xvf 'https://get.helm.sh/helm-v{{helm3_5_version}}-linux-amd64.tar.gz'
103 mv linux-amd64/helm /usr/local/bin/helm3.5
107 - name: 'Install ChartMuseum {{chartmuseum_version}}'
109 - name: 'Fetch bin for ChartMuseum'
111 url: "https://s3.amazonaws.com/chartmuseum/release/v{{ chartmuseum_version }}/bin/linux/amd64/chartmuseum"
112 dest: /usr/local/bin/chartmuseum
115 - name: 'Check ChartMuseum {{chartmuseum_version}}'
116 command: 'which chartmuseum'