2 - import_playbook: ../common-packer/provision/docker.yaml
9 kubectl_version: 1.22.4
11 helm3_3_version: 3.3.4
12 helm3_5_version: 3.5.1
13 helm3_7_version: 3.7.1
14 chartmuseum_version: 0.12.0
17 - name: "Install kubectl {{kubectl_version}}"
19 url: "https://storage.googleapis.com/kubernetes-release/release/v{{kubectl_version}}/bin/linux/amd64/kubectl"
20 dest: /usr/local/bin/kubectl
24 - name: "Install Helm {{helm_version}}"
26 - name: "Fetch tar.gz for {{helm_version}}"
28 url: "https://get.helm.sh/helm-v{{helm_version}}-linux-amd64.tar.gz"
29 dest: "/tmp/helm-v{{helm_version}}-linux-amd64.tar.gz"
30 - name: "Unarchive {{helm_version}}"
32 src: "/tmp/helm-v{{helm_version}}-linux-amd64.tar.gz"
36 - name: "Move {{helm_version}} bin to /usr/local/bin and set as executable"
37 command: "mv /tmp/linux-amd64/helm /usr/local/bin/helm"
39 - name: "Check Helm {{helm_version}}"
42 - name: "Install Helm 3.3 {{helm3_3_version}}"
44 - name: "Create directory /tmp/helm3_3"
48 - name: "Fetch tar.gz for Helm 3.3"
50 url: "https://get.helm.sh/helm-v{{helm3_3_version}}-linux-amd64.tar.gz"
52 - name: "Unarchive Helm 3.3"
54 src: "/tmp/helm3_3/helm-v{{helm3_3_version}}-linux-amd64.tar.gz"
58 - name: "Move Helm 3.3 bin to /usr/local/bin and set as executable"
59 command: "mv /tmp/helm3_3/linux-amd64/helm /usr/local/bin/helm3.3"
61 - name: "Check Helm 3.3"
62 command: "which helm3.3"
63 - name: "Check kubectl {{kubectl_version}}"
64 command: "which kubectl"
66 - name: "Install Helm3.5 {{helm3_5_version}}"
68 - name: "Create directory /tmp/helm3.5"
72 - name: "Fetch tar.gz for Helm 3.5"
74 url: "https://get.helm.sh/helm-v{{helm3_5_version}}-linux-amd64.tar.gz"
76 - name: "Unarchive Helm 3.5"
78 src: "/tmp/helm3.5/helm-v{{helm3_5_version}}-linux-amd64.tar.gz"
82 - name: "Move Helm 3.5 bin to /usr/local/bin and set as executable"
83 command: "mv /tmp/helm3.5/linux-amd64/helm /usr/local/bin/helm3.5"
85 - name: "Check Helm 3.5"
86 command: "which helm3.5"
87 - name: "Check kubectl {{kubectl_version}}"
88 command: "which kubectl"
90 - name: "Install Helm3.7 {{helm3_7_version}}"
92 - name: "Create directory /tmp/helm3.7"
96 - name: "Fetch tar.gz for Helm 3.7"
98 url: "https://get.helm.sh/helm-v{{helm3_7_version}}-linux-amd64.tar.gz"
100 - name: "Unarchive Helm 3.7"
102 src: "/tmp/helm3.7/helm-v{{helm3_7_version}}-linux-amd64.tar.gz"
106 - name: "Move Helm 3.7 bin to /usr/local/bin and set as executable"
107 command: "mv /tmp/helm3.7/linux-amd64/helm /usr/local/bin/helm3.7"
109 - name: "Check Helm 3.7"
110 command: "which helm3.7"
111 - name: "Check kubectl {{kubectl_version}}"
112 command: "which kubectl"
114 - name: "Install ChartMuseum {{chartmuseum_version}}"
116 - name: "Fetch bin for ChartMuseum"
118 url: "https://s3.amazonaws.com/chartmuseum/release/v{{ chartmuseum_version }}/bin/linux/amd64/chartmuseum"
119 dest: /usr/local/bin/chartmuseum
122 - name: "Check ChartMuseum {{chartmuseum_version}}"
123 command: "which chartmuseum"