Skip to content

[REGRESSION]: HelmDeploy@0 install fails with unknown flag: --name #21598

@tomkerkhove

Description

@tomkerkhove

New issue checklist

Task name

HelmDeploy@0 & HelmDeploy@1

Breaking task version

0.264.0

Last working task version

0.264.0

Regression Description

A regression happened!

Helm chart installation fails when specifying name because --name gets added while it shouldn't, without task version update.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

windows-latest

Relevant log output

Working scenario (internal pipeline):

Starting: Deploy Redis to Kubernetes Cluster
==============================================================================
Task         : Package and deploy Helm charts
Description  : Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands
Version      : 0.264.0
Author       : Microsoft Corporation
Help         : https://aka.ms/azpipes-helm-tsg
==============================================================================
C:\ProgramData\Chocolatey\bin\helm.exe version --client --short
v3.19.0+g3d8990f
C:\ProgramData\Chocolatey\bin\helm.exe install --namespace gateway-token-gwv1-w-mi-145440743-1 --set replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false redis --wait bitnami/redis
NAME: redis
LAST DEPLOYED: Wed Dec  3 13:13:06 2025

Working scenario (internal pipeline):

2025-12-02T23:17:25.8498475Z ##[section]Starting: Deploy Redis to Kubernetes Cluster
2025-12-02T23:17:25.8538553Z ==============================================================================
2025-12-02T23:17:25.8538629Z Task         : Package and deploy Helm charts
2025-12-02T23:17:25.8538689Z Description  : Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands
2025-12-02T23:17:25.8538748Z Version      : 0.264.0
2025-12-02T23:17:25.8538808Z Author       : Microsoft Corporation
2025-12-02T23:17:25.8538862Z Help         : https://aka.ms/azpipes-helm-tsg
2025-12-02T23:17:25.8538919Z ==============================================================================
2025-12-02T23:17:26.6403882Z [command]C:\ProgramData\Chocolatey\bin\helm.exe version --client --short
2025-12-02T23:17:26.8334051Z Error: unknown flag: --client
2025-12-02T23:17:26.8347389Z [command]C:\ProgramData\Chocolatey\bin\helm.exe install --namespace gateway-token-gwv2-w-mi-145367439-1 --set replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false --name redis --wait bitnami/redis
2025-12-02T23:17:27.0324634Z Error: unknown flag: --name
2025-12-02T23:17:27.0351724Z ##[error]Error: unknown flag: --name

Full task logs with system.debug enabled

UNSUCCESSFUL RUN
2025-12-18T11:44:39.1965180Z ##[debug]Evaluating condition for step: 'Deploy Redis to Kubernetes Cluster'
2025-12-18T11:44:39.1966913Z ##[debug]Evaluating: ne(variables['gwcreated'], '')
2025-12-18T11:44:39.1967430Z ##[debug]Evaluating ne:
2025-12-18T11:44:39.1967920Z ##[debug]..Evaluating indexer:
2025-12-18T11:44:39.1968416Z ##[debug]....Evaluating variables:
2025-12-18T11:44:39.1969126Z ##[debug]....=> Object
2025-12-18T11:44:39.1969631Z ##[debug]....Evaluating String:
2025-12-18T11:44:39.1970185Z ##[debug]....=> 'gwcreated'
2025-12-18T11:44:39.1971173Z ##[debug]..=> 'gateway-token-gwv1-w-mi-147096749-1'
2025-12-18T11:44:39.1971796Z ##[debug]..Evaluating String:
2025-12-18T11:44:39.1972258Z ##[debug]..=> ''
2025-12-18T11:44:39.1972690Z ##[debug]=> True
2025-12-18T11:44:39.1973737Z ##[debug]Expanded: ne('gateway-token-gwv1-w-mi-147096749-1', '')
2025-12-18T11:44:39.1974387Z ##[debug]Result: True
2025-12-18T11:44:39.1976804Z ##[section]Starting: Deploy Redis to Kubernetes Cluster
2025-12-18T11:44:39.2012935Z ==============================================================================
2025-12-18T11:44:39.2013103Z Task         : Package and deploy Helm charts
2025-12-18T11:44:39.2013199Z Description  : Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands
2025-12-18T11:44:39.2013334Z Version      : 0.265.0
2025-12-18T11:44:39.2013598Z Author       : Microsoft Corporation
2025-12-18T11:44:39.2013693Z Help         : https://aka.ms/azpipes-helm-tsg
2025-12-18T11:44:39.2013784Z ==============================================================================
2025-12-18T11:44:39.2578753Z ##[debug]Agent environment resources - Disk: D:\ Available 73369.33 MB out of 76798.00 MB, Memory: Used 3316.00 MB out of 8191.00 MB, CPU: Usage 63.00%
2025-12-18T11:44:39.8137086Z ##[debug]Using node path: C:\actions-runner\cached\externals\node20_1\bin\node.exe
2025-12-18T11:44:40.0131739Z ##[debug]agent.TempDirectory=D:\a\_temp
2025-12-18T11:44:40.0142428Z ##[debug]loading inputs and endpoints
2025-12-18T11:44:40.0163286Z ##[debug]loading ENDPOINT_AUTH_49a0130e-2a54-4369-ae5e-8e277833618a
2025-12-18T11:44:40.0188835Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_APITOKEN
2025-12-18T11:44:40.0194234Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_AZUREENVIRONMENT
2025-12-18T11:44:40.0198616Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_AZURETENANTID
2025-12-18T11:44:40.0203224Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_ROLEBINDINGNAME
2025-12-18T11:44:40.0207708Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_SECRETNAME
2025-12-18T11:44:40.0212321Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_SERVICEACCOUNTCERTIFICATE
2025-12-18T11:44:40.0217709Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_49a0130e-2a54-4369-ae5e-8e277833618a_SERVICEACCOUNTNAME
2025-12-18T11:44:40.0230934Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2025-12-18T11:44:40.0232448Z ##[debug]loading ENDPOINT_AUTH_SCHEME_49a0130e-2a54-4369-ae5e-8e277833618a
2025-12-18T11:44:40.0237080Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2025-12-18T11:44:40.0243701Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2025-12-18T11:44:40.0253688Z ##[debug]loading INPUT_CANARYIMAGE
2025-12-18T11:44:40.0259029Z ##[debug]loading INPUT_CHARTNAME
2025-12-18T11:44:40.0263809Z ##[debug]loading INPUT_CHARTPATH
2025-12-18T11:44:40.0268722Z ##[debug]loading INPUT_CHARTPATHFORACR
2025-12-18T11:44:40.0273122Z ##[debug]loading INPUT_CHARTTYPE
2025-12-18T11:44:40.0277825Z ##[debug]loading INPUT_COMMAND
2025-12-18T11:44:40.0282052Z ##[debug]loading INPUT_CONNECTIONTYPE
2025-12-18T11:44:40.0286557Z ##[debug]loading INPUT_DESTINATION
2025-12-18T11:44:40.0291566Z ##[debug]loading INPUT_ENABLETLS
2025-12-18T11:44:40.0296274Z ##[debug]loading INPUT_FAILONSTDERR
2025-12-18T11:44:40.0300328Z ##[debug]loading INPUT_FORCE
2025-12-18T11:44:40.0305306Z ##[debug]loading INPUT_INSTALL
2025-12-18T11:44:40.0310858Z ##[debug]loading INPUT_KUBERNETESSERVICEENDPOINT
2025-12-18T11:44:40.0315145Z ##[debug]loading INPUT_NAMESPACE
2025-12-18T11:44:40.0319776Z ##[debug]loading INPUT_OVERRIDEVALUES
2025-12-18T11:44:40.0324694Z ##[debug]loading INPUT_PUBLISHPIPELINEMETADATA
2025-12-18T11:44:40.0328472Z ##[debug]loading INPUT_RECREATE
2025-12-18T11:44:40.0332707Z ##[debug]loading INPUT_RESETVALUES
2025-12-18T11:44:40.0336677Z ##[debug]loading INPUT_SAVE
2025-12-18T11:44:40.0343976Z ##[debug]loading INPUT_UPDATEDEPENDENCY
2025-12-18T11:44:40.0348295Z ##[debug]loading INPUT_UPGRADETILLER
2025-12-18T11:44:40.0352534Z ##[debug]loading INPUT_USECLUSTERADMIN
2025-12-18T11:44:40.0357413Z ##[debug]loading INPUT_VALUEFILE
2025-12-18T11:44:40.0363118Z ##[debug]loading INPUT_WAITFOREXECUTION
2025-12-18T11:44:40.0379031Z ##[debug]loading SECRET_API-CURRENT-TENANT-SSL
2025-12-18T11:44:40.0384211Z ##[debug]loading SECRET_API-TEST-GLOBALSTORAGECONNECTIONSTRING
2025-12-18T11:44:40.0388765Z ##[debug]loading SECRET_APIM-BVTS-EXTERNAL-CACHE
2025-12-18T11:44:40.0393407Z ##[debug]loading SECRET_APIM-CLOUDVAULT-TEST
2025-12-18T11:44:40.0398015Z ##[debug]loading SECRET_APIM-CURRENT-SUBSCRIPTION-MGMT
2025-12-18T11:44:40.0403846Z ##[debug]loading SECRET_APIM-DOGFOOD-SUBSCRIPTION-MGMT
2025-12-18T11:44:40.0408557Z ##[debug]loading SECRET_APIM-FIRSTPARTY-AAD-APP
2025-12-18T11:44:40.0413143Z ##[debug]loading SECRET_APIM-GATEWAY-BVTS-ENTRA-TOKENS
2025-12-18T11:44:40.0417838Z ##[debug]loading SECRET_APIM-RP-INTERNAL-CLIENT-AUTH
2025-12-18T11:44:40.0422679Z ##[debug]loading SECRET_APIM-SHGW-BVT-AUTH
2025-12-18T11:44:40.0426729Z ##[debug]loading SECRET_APIM-SHGW-BVT-CERT-AUTH
2025-12-18T11:44:40.0430902Z ##[debug]loading SECRET_APIM-SHGW-EXTERNA-CACHE
2025-12-18T11:44:40.0435051Z ##[debug]loading SECRET_APIM-TENANT-CLIENT-AUTH
2025-12-18T11:44:40.0439807Z ##[debug]loading SECRET_APIM-TEST-EV2-AUTH
2025-12-18T11:44:40.0444080Z ##[debug]loading SECRET_APIM-TEST-OPENAI-API-KEY
2025-12-18T11:44:40.0447885Z ##[debug]loading SECRET_APIM-TEST-REDIS-ACCESS-KEY
2025-12-18T11:44:40.0451634Z ##[debug]loading SECRET_APIM-TEST-SQLSERVERPASSWORD
2025-12-18T11:44:40.0455443Z ##[debug]loading SECRET_COSMOSDBKEY
2025-12-18T11:44:40.0459444Z ##[debug]loading SECRET_DAYLIGHT-APP-CLIENT-CERTIFICATE
2025-12-18T11:44:40.0464264Z ##[debug]loading SECRET_EV2-EXTENSION-CLIENT-CERTIFICATE
2025-12-18T11:44:40.0474400Z ##[debug]loading SECRET_GENEVA-CLIENT-AUTH
2025-12-18T11:44:40.0475476Z ##[debug]loading SECRET_GENEVA-COMMUNICATION-AUTH
2025-12-18T11:44:40.0479750Z ##[debug]loading SECRET_GENEVA-MDM-EDIT-AUTH
2025-12-18T11:44:40.0484356Z ##[debug]loading SECRET_MULTIPLE-WILD-CARD
2025-12-18T11:44:40.0488003Z ##[debug]loading SECRET_SPUTNIK-BVT-CANARY-APP-CLIENT-SECRET
2025-12-18T11:44:40.0491500Z ##[debug]loading SECRET_SQLTESTUSERPASSWORD
2025-12-18T11:44:40.0495127Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2025-12-18T11:44:40.0514256Z ##[debug]loaded 63
2025-12-18T11:44:40.0526102Z ##[debug]Agent.ProxyUrl=undefined
2025-12-18T11:44:40.0527634Z ##[debug]Agent.CAInfo=undefined
2025-12-18T11:44:40.0528794Z ##[debug]Agent.ClientCert=undefined
2025-12-18T11:44:40.0529940Z ##[debug]Agent.SkipCertValidation=undefined
2025-12-18T11:44:40.1073142Z ##[debug]namespace=gateway-token-gwv1-w-mi-147096749-1
2025-12-18T11:44:40.1896377Z ##[debug]System.TeamFoundationCollectionUri=https://msazure.visualstudio.com/
2025-12-18T11:44:40.1897822Z ##[debug]System.HostType=build
2025-12-18T11:44:40.1899170Z ##[debug]System.DefaultWorkingDirectory=D:\a\1\s
2025-12-18T11:44:40.1900187Z ##[debug]Build.SourceBranchName=temp-remove-helm-uninstall
2025-12-18T11:44:40.1901176Z ##[debug]Build.Repository.Provider=TfsGit
2025-12-18T11:44:40.1902136Z ##[debug]Build.Repository.Uri=https://msazure.visualstudio.com/One/_git/AAPT-APIManagement
2025-12-18T11:44:40.4681344Z ##[debug]namespace=gateway-token-gwv1-w-mi-147096749-1
2025-12-18T11:44:40.4683211Z ##[debug]check path : D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\task.json
2025-12-18T11:44:40.4688956Z ##[debug]adding resource file: D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\task.json
2025-12-18T11:44:40.4690337Z ##[debug]system.culture=en-US
2025-12-18T11:44:40.4718258Z ##[debug]check path : D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\node_modules\azure-pipelines-tasks-azure-arm-rest\module.json
2025-12-18T11:44:40.4728667Z ##[debug]adding resource file: D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\node_modules\azure-pipelines-tasks-azure-arm-rest\module.json
2025-12-18T11:44:40.4730176Z ##[debug]system.culture=en-US
2025-12-18T11:44:40.4767579Z ##[debug]command=install
2025-12-18T11:44:40.4769885Z ##[debug]connectionType=Kubernetes Service Connection
2025-12-18T11:44:40.4772275Z ##[debug]connectionType=Kubernetes Service Connection
2025-12-18T11:44:40.4776156Z ##[debug]connectionType=Kubernetes Service Connection
2025-12-18T11:44:40.4777499Z ##[debug]azureSubscriptionEndpoint=undefined
2025-12-18T11:44:40.4778949Z ##[debug]connectionType=Kubernetes Service Connection
2025-12-18T11:44:40.4779857Z ##[debug]azureSubscriptionEndpoint=undefined
2025-12-18T11:44:40.4899085Z ##[debug]Agent.ProxyUrl=undefined
2025-12-18T11:44:40.4900463Z ##[debug]Agent.CAInfo=undefined
2025-12-18T11:44:40.4901946Z ##[debug]Agent.ClientCert=undefined
2025-12-18T11:44:40.4903333Z ##[debug]check path : D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\node_modules\azure-pipelines-tool-lib\lib.json
2025-12-18T11:44:40.4904838Z ##[debug]adding resource file: D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\node_modules\azure-pipelines-tool-lib\lib.json
2025-12-18T11:44:40.4906113Z ##[debug]system.culture=en-US
2025-12-18T11:44:40.4930771Z ##[debug]check path : D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\node_modules\azure-pipelines-tasks-kubernetes-common\module.json
2025-12-18T11:44:40.4933968Z ##[debug]adding resource file: D:\a\_tasks\HelmDeploy_afa7d54d-537b-4dc8-b60a-e0eeea2c9a87\0.265.0\node_modules\azure-pipelines-tasks-kubernetes-common\module.json
2025-12-18T11:44:40.4935379Z ##[debug]system.culture=en-US
2025-12-18T11:44:40.4958114Z ##[debug]kubernetesServiceEndpoint=49a0130e-2a54-4369-ae5e-8e277833618a
2025-12-18T11:44:40.4959417Z ##[debug]49a0130e-2a54-4369-ae5e-8e277833618a data authorizationType = AzureSubscription
2025-12-18T11:44:40.4960780Z ##[debug]49a0130e-2a54-4369-ae5e-8e277833618a=https://apim-bvt-test-infrastructure-xrt7bfy9.hcp.westus.azmk8s.io/
2025-12-18T11:44:40.4967942Z ##[debug]49a0130e-2a54-4369-ae5e-8e277833618a auth param serviceAccountCertificate = ***
2025-12-18T11:44:40.4971402Z ##[debug]49a0130e-2a54-4369-ae5e-8e277833618a auth param apiToken = ***
2025-12-18T11:44:40.4972713Z ##[debug]agent.tempDirectory=D:\a\_temp
2025-12-18T11:44:40.5002928Z ##[debug]Kubeconfig file path: D:\a\_temp\helmTask\1766058280496\config
2025-12-18T11:44:40.5009619Z ##[debug]which 'kubectl'
2025-12-18T11:44:40.5017722Z ##[debug]found: 'C:\ProgramData\Chocolatey\bin\kubectl.exe'
2025-12-18T11:44:40.5019621Z ##[debug]agent.tempDirectory=D:\a\_temp
2025-12-18T11:44:40.5024063Z ##[debug]which 'kubelogin'
2025-12-18T11:44:40.5408364Z ##[debug]not found
2025-12-18T11:44:40.5411718Z ##[debug]which 'helm'
2025-12-18T11:44:40.5418531Z ##[debug]found: 'C:\ProgramData\Chocolatey\bin\helm.exe'
2025-12-18T11:44:40.5440974Z ##[debug]SYSTEM_JOBID=acd65bad-72c0-5bfe-a75f-2b042e9ec148
2025-12-18T11:44:40.5442531Z ##[debug]failOnStderr=false
2025-12-18T11:44:40.5775763Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=HelmDeployV0]{"connectionType":"Kubernetes Service Connection","command":"install","jobId":"acd65bad-72c0-5bfe-a75f-2b042e9ec148"}
2025-12-18T11:44:40.5895409Z ##[debug]tillernamespace=undefined
2025-12-18T11:44:40.5899525Z ##[debug]system.debug=True
2025-12-18T11:44:40.5902975Z ##[debug]chartType=Name
2025-12-18T11:44:40.5905872Z ##[debug]releaseName=undefined
2025-12-18T11:44:40.6017236Z ##[debug]overrideValues=replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false
2025-12-18T11:44:40.6047408Z ##[debug]namespace=gateway-token-gwv1-w-mi-147096749-1
2025-12-18T11:44:40.6048971Z ##[debug]updatedependency=false
2025-12-18T11:44:40.6050061Z ##[debug]waitForExecution=true
2025-12-18T11:44:40.6051644Z ##[debug]arguments=undefined
2025-12-18T11:44:40.6052723Z ##[debug]valueFile=D:\a\1\s
2025-12-18T11:44:40.6053797Z ##[debug]System.DefaultWorkingDirectory=D:\a\1\s
2025-12-18T11:44:40.6056426Z ##[debug]enableTls=false
2025-12-18T11:44:40.6058270Z ##[debug]version=undefined
2025-12-18T11:44:40.6063002Z ##[debug]which 'C:\ProgramData\Chocolatey\bin\helm.exe'
2025-12-18T11:44:40.6064021Z ##[debug]found: 'C:\ProgramData\Chocolatey\bin\helm.exe'
2025-12-18T11:44:40.6064975Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: version
2025-12-18T11:44:40.6066033Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: --client
2025-12-18T11:44:40.6067087Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: --short
2025-12-18T11:44:40.6068141Z ##[debug]exec tool: C:\ProgramData\Chocolatey\bin\helm.exe
2025-12-18T11:44:40.6070089Z ##[debug]arguments:
2025-12-18T11:44:40.6070882Z ##[debug]   version
2025-12-18T11:44:40.6071700Z ##[debug]   --client
2025-12-18T11:44:40.6072537Z ##[debug]   --short
2025-12-18T11:44:40.6073165Z [command]C:\ProgramData\Chocolatey\bin\helm.exe version --client --short
2025-12-18T11:44:40.8433772Z Error: unknown flag: --client
2025-12-18T11:44:40.8434684Z ##[debug]chartName=bitnami/redis
2025-12-18T11:44:40.8435979Z ##[debug]which 'C:\ProgramData\Chocolatey\bin\helm.exe'
2025-12-18T11:44:40.8437018Z ##[debug]found: 'C:\ProgramData\Chocolatey\bin\helm.exe'
2025-12-18T11:44:40.8438071Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: install
2025-12-18T11:44:40.8439149Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: --namespace gateway-token-gwv1-w-mi-147096749-1
2025-12-18T11:44:40.8440473Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: --set replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false
2025-12-18T11:44:40.8442106Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: --wait
2025-12-18T11:44:40.8443142Z ##[debug]C:\ProgramData\Chocolatey\bin\helm.exe arg: bitnami/redis
2025-12-18T11:44:40.8444146Z ##[debug]exec tool: C:\ProgramData\Chocolatey\bin\helm.exe
2025-12-18T11:44:40.8445091Z ##[debug]arguments:
2025-12-18T11:44:40.8445999Z ##[debug]   install
2025-12-18T11:44:40.8446902Z ##[debug]   --namespace
2025-12-18T11:44:40.8447804Z ##[debug]   gateway-token-gwv1-w-mi-147096749-1
2025-12-18T11:44:40.8448673Z ##[debug]   --set
2025-12-18T11:44:40.8449766Z ##[debug]   replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false
2025-12-18T11:44:40.8450853Z ##[debug]   --wait
2025-12-18T11:44:40.8451669Z ##[debug]   bitnami/redis
2025-12-18T11:44:40.8452654Z [command]C:\ProgramData\Chocolatey\bin\helm.exe install --namespace gateway-token-gwv1-w-mi-147096749-1 --set replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false --wait bitnami/redis
2025-12-18T11:44:41.3398941Z Error: INSTALLATION FAILED: must either provide a name or specify --generate-name
2025-12-18T11:44:41.3399880Z ##[debug]set helmExitCode=1
2025-12-18T11:44:41.3401838Z ##[debug]Processed: ##vso[task.setvariable variable=helmExitCode;isOutput=false;issecret=false;]1
2025-12-18T11:44:41.3403217Z ##[debug]publishPipelineMetadata=true
2025-12-18T11:44:41.3404332Z ##[debug]execResult: {"code":1,"stdout":"","stderr":"Error: INSTALLATION FAILED: must either provide a name or specify --generate-name\n"}
2025-12-18T11:44:41.3405477Z ##[debug]task result: Failed
2025-12-18T11:44:41.3434032Z ##[error]Error: INSTALLATION FAILED: must either provide a name or specify --generate-name

2025-12-18T11:44:41.3451161Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=fde56514-0147-4cbd-b368-227c658709cd;]Error: INSTALLATION FAILED: must either provide a name or specify --generate-name

2025-12-18T11:44:41.3452917Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: INSTALLATION FAILED: must either provide a name or specify --generate-name

2025-12-18T11:44:41.3453784Z ##[debug]connectionType=Kubernetes Service Connection
2025-12-18T11:44:41.3515862Z ##[section]Finishing: Deploy Redis to Kubernetes Cluster

SUCCESSFUL RUN
 See above, no debug logs 

Repro steps

- task: HelmDeploy@0
    displayName: Deploy Redis to Kubernetes Cluster
    inputs:
      connectionType: 'Kubernetes Service Connection'
      kubernetesServiceEndpoint: 'apim-bvt-test-infrastructure'
      namespace: ${{ parameters.kubernetesNamespace }}
      command: install
      chartname: bitnami/redis
      releasename: redis
      # Learn more on https://artifacthub.io/packages/helm/bitnami/redis
      # We don't need too many replicas as they require disks on our nodes, and we don't have many nodes
      overrideValues: replica.replicaCount=1,image.registry=mcr.microsoft.com,image.repository=cbl-mariner/base/redis,image.tag=6,global.security.allowInsecureImages=true,commonConfiguration=null,master.persistence.enabled=false,replica.persistence.enabled=false
    condition: ne(variables['gwcreated'], '')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions