Skip to main content

Install a chart

Retrieves a kubeconfig and installs a Helm release.

Requires the Helm extension to be registered in bicepconfig.json — see Installation.

targetScope = 'local'

@secure()
param kubeConfig string

extension helm with {
kubeConfig: kubeConfig
}

resource release 'Release' = {
name: 'azure-vote'
repository: 'https://azure-samples.github.io/helm-charts'
chart: 'azure-vote'
set: [
{
name: 'title'
value: 'Do you love Bicep?'
}
{
name: 'value1'
value: 'Of course!'
}
{
name: 'image.tag'
value: 'Nope :('
}
]
}

View on GitHub