Merge pull request #571 from dmitry-shibanov/v-dmshib/add-Helm-win

Add helm installation
This commit is contained in:
Maxim Lobanov
2020-03-18 10:19:59 +03:00
committed by GitHub
2 changed files with 26 additions and 0 deletions

View File

@@ -14,3 +14,7 @@ Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Start-Service docker Start-Service docker
choco install docker-compose -y choco install docker-compose -y
# Install helm
Write-Host "Install Helm"
choco install kubernetes-helm

View File

@@ -44,3 +44,25 @@ _Environment:_
"@ "@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
# Validate helm
if (Get-Command -Name 'helm')
{
Write-Host "helm on path"
}
else
{
Write-Host 'helm is not on path'
exit 1
}
$version = $(helm version --short)
$SoftwareName = "Helm"
$Description = @"
_Version:_ $version<br/>
_Environment:_
* PATH: contains location of helm
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description