Skip to content

helm init error: unknown flag: --client-only #6999

@ghost

Description

We are running Helm on Microsoft Azure and we get since a few days the following log:

2019-11-14T09:17:25.2237782Z ##[section]Starting: Install Helm 2.14.3
2019-11-14T09:17:25.2241745Z ==============================================================================
2019-11-14T09:17:25.2241842Z Task         : Helm tool installer
2019-11-14T09:17:25.2241961Z Description  : Install Helm and Kubernetes on an agent machine
2019-11-14T09:17:25.2242033Z Version      : 0.155.1
2019-11-14T09:17:25.2242144Z Author       : Microsoft Corporation
2019-11-14T09:17:25.2242219Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/tool/helm-installer
2019-11-14T09:17:25.2242345Z ==============================================================================
2019-11-14T09:17:26.2059993Z Downloading: https://get.helm.sh/helm-v3.0.0-linux-amd64.zip
2019-11-14T09:17:27.1038411Z Extracting archive
2019-11-14T09:17:27.1075791Z [command]/usr/bin/unzip /home/vsts/work/_temp/helm-v3.0.0-85412e02-73e9-4d89-9743-8b19676b1dfc.zip
2019-11-14T09:17:27.1403261Z Archive:  /home/vsts/work/_temp/helm-v3.0.0-85412e02-73e9-4d89-9743-8b19676b1dfc.zip
2019-11-14T09:17:27.1406118Z    creating: linux-amd64/
2019-11-14T09:17:27.5300096Z   inflating: linux-amd64/helm        
2019-11-14T09:17:27.5300611Z   inflating: linux-amd64/README.md   
2019-11-14T09:17:27.5300899Z   inflating: linux-amd64/LICENSE     
2019-11-14T09:17:27.5334645Z Caching tool: helm 3.0.0 x64
2019-11-14T09:17:27.5908409Z Prepending PATH environment variable with directory: /opt/hostedtoolcache/helm/3.0.0/x64/linux-amd64
2019-11-14T09:17:27.5924026Z Verifying helm installation...
2019-11-14T09:17:27.5943176Z [command]/opt/hostedtoolcache/helm/3.0.0/x64/linux-amd64/helm init --client-only
2019-11-14T09:17:27.6355915Z Error: unknown flag: --client-only
2019-11-14T09:17:27.6453272Z ##[error]Error: /opt/hostedtoolcache/helm/3.0.0/x64/linux-amd64/helm failed with return code: 1
2019-11-14T09:17:27.6465874Z ##[section]Finishing: Install Helm 2.14.3

We did not change our scripts recently, so is this a helm specific problem or do we have to look for Azure problems/changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions