2 - import_playbook: ../common-packer/provision/docker.yaml
9 kubectl_version: 1.23.7
10 helm3_6_version: 3.6.3
11 helm3_8_version: 3.8.2
12 chartmuseum_version: 0.12.0
15 - name: 'Install kubectl {{kubectl_version}}'
17 url: "https://storage.googleapis.com/kubernetes-release/release/v{{kubectl_version}}/bin/linux/amd64/kubectl"
18 dest: /usr/local/bin/kubectl
22 - name: 'Install Helm3.6 {{helm3_6_version}}'
24 - name: 'Create directory /tmp/helm3.6'
28 - name: 'Fetch tar.gz for Helm 3.6'
30 url: "https://get.helm.sh/helm-v{{helm3_6_version}}-linux-amd64.tar.gz"
32 - name: 'Unarchive Helm 3.6'
34 src: "/tmp/helm3.6/helm-v{{helm3_6_version}}-linux-amd64.tar.gz"
38 - name: 'Move Helm 3.6 bin to /usr/local/bin and set as executable'
39 command: 'mv /tmp/helm3.6/linux-amd64/helm /usr/local/bin/helm3.6'
41 - name: 'Check Helm 3.6'
42 command: 'which helm3.6'
43 - name: 'Check kubectl {{kubectl_version}}'
44 command: 'which kubectl'
46 - name: 'Install Helm 3.6'
48 echo "----> Installing helm3.6"
49 wget 'https://get.helm.sh/helm-v{{helm3_6_version}}-linux-amd64.tar.gz'
50 tar -xvf 'https://get.helm.sh/helm-v{{helm3_6_version}}-linux-amd64.tar.gz'
51 mv linux-amd64/helm /usr/local/bin/helm3.6
55 - name: 'Install Helm3.8 {{helm3_8_version}}'
57 - name: 'Create directory /tmp/helm3.8'
61 - name: 'Fetch tar.gz for Helm 3.8'
63 url: "https://get.helm.sh/helm-v{{helm3_8_version}}-linux-amd64.tar.gz"
65 - name: 'Unarchive Helm 3.8'
67 src: "/tmp/helm3.8/helm-v{{helm3_8_version}}-linux-amd64.tar.gz"
71 - name: 'Move Helm 3.8 bin to /usr/local/bin and set as executable'
72 command: 'mv /tmp/helm3.8/linux-amd64/helm /usr/local/bin/helm3.8'
74 - name: 'Check Helm 3.8'
75 command: 'which helm3.8'
76 - name: 'Check kubectl {{kubectl_version}}'
77 command: 'which kubectl'
79 - name: 'Install Helm 3.8'
81 echo "----> Installing helm3.8"
82 wget 'https://get.helm.sh/helm-v{{helm3_8_version}}-linux-amd64.tar.gz'
83 tar -xvf 'https://get.helm.sh/helm-v{{helm3_8_version}}-linux-amd64.tar.gz'
84 mv linux-amd64/helm /usr/local/bin/helm3.8
89 - name: 'Install ChartMuseum {{chartmuseum_version}}'
91 - name: 'Fetch bin for ChartMuseum'
93 url: "https://s3.amazonaws.com/chartmuseum/release/v{{ chartmuseum_version }}/bin/linux/amd64/chartmuseum"
94 dest: /usr/local/bin/chartmuseum
97 - name: 'Check ChartMuseum {{chartmuseum_version}}'
98 command: 'which chartmuseum'