Merge pull request #988 from dariustehrani/helm_delete_fix

limit helm delete to eshop
This commit is contained in:
Miguel Veloso 2019-04-29 18:03:09 +01:00 committed by GitHub
commit 72f68a1c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ if ([string]::IsNullOrEmpty($dns)) {
if ($clean) {
Write-Host "Cleaning previous helm releases..." -ForegroundColor Green
helm delete --purge $(helm ls -q)
helm delete --purge $(helm ls -q eshop)
Write-Host "Previous releases deleted" -ForegroundColor Green
}
@ -91,4 +91,4 @@ else {
Write-Host "eShopOnContainers non-infrastructure charts aren't installed (-deployCharts is false)" -ForegroundColor Yellow
}
Write-Host "helm charts installed." -ForegroundColor Green
Write-Host "helm charts installed." -ForegroundColor Green