Azure-pipelines-tasks: Adding repos with Helm Deploy task

Created on 20 Sep 2018  路  9Comments  路  Source: microsoft/azure-pipelines-tasks

I would like to install Open Service Broker for Azure on my AKS cluster. I need to do stuff like this:

helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com
helm install svc-cat/catalog --name catalog --namespace catalog \
   --set apiserver.storage.etcd.persistence.enabled=true

However there is no repo option for the Helm task. How would I go about doing the above with VSTS tasks?

EDIT: I'm using Azure DevOps

Release

Most helpful comment

I have this same issue, but there is no repo command available for this task so I can't figure out how to follow #8374 (comment)

'Command' input in task is editable. You can type 'repo' in 'Command' input as shown in screenshot
image

All 9 comments

nevermind - it works if you use repo for the task and pass the rest of it in the arguments argument. Perhaps the docs need to be updated? Currently it says:

#command: 'ls' # Options: create, delete, expose, get, init, install, login, logout, ls, package, rollback, upgrade

@timwebster9 , I have opened workitem internally to track for adding more information in task document.

I have this same issue, but there is no repo command available for this task so I can't figure out how to follow https://github.com/microsoft/azure-pipelines-tasks/issues/8374#issuecomment-423248004

@michaelmcneil-corgi

if you're using YAML, this is what we're doing:

steps:
- task: HelmDeploy@0
  displayName: 'Add Service Catalog Helm Repo'
  enabled: true
  inputs:
    connectionType: 'Azure Resource Manager'
    azureSubscription: ${{ parameters.serviceConnection }}
    azureResourceGroup: ${{ parameters.aksResourceGroup }}
    kubernetesCluster: ${{ parameters.aksClusterName }}
    command: 'repo'
    arguments: 'add svc-cat https://svc-catalog-charts.storage.googleapis.com'

I have this same issue, but there is no repo command available for this task so I can't figure out how to follow #8374 (comment)

'Command' input in task is editable. You can type 'repo' in 'Command' input as shown in screenshot
image

Thanks both for the help. I didn't realise I could type into that Command dropdown!

Any plans on adding this command to the task?

@StiviiK , 'Command' input is editable so user can type any command, so presently we don't have plans to add it to dropdown.

Okay.

Was this page helpful?
0 / 5 - 0 ratings