# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # NOTE(lamt): We should be using zuul's ensure-helm zuul-job instead of # re-inventing the wheel here, but that job relies on Helm 2, and has a step to # "helm init" which is removed in Helm 3. We will just use the key # part from the zuul-job until that is resolved. --- - name: Download Helm unarchive: remote_src: true src: "https://get.helm.sh/helm-v{{ version.helm }}-linux-amd64.tar.gz" dest: /tmp - name: Install Helm become: true copy: remote_src: true src: /tmp/linux-amd64/helm dest: /usr/local/bin/helm mode: '0755'