updating chart.yaml for stress-test-addons (#3081)

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-11-08 16:35:06 -08:00 committed by GitHub
parent 198327e16c
commit a583bc293b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -156,6 +156,7 @@ function DeployStressPackage(
Write-Host "Creating namespace $($pkg.Namespace) if it does not exist..."
kubectl create namespace $pkg.Namespace --dry-run=client -o yaml | kubectl apply -f -
if ($LASTEXITCODE) {exit $LASTEXITCODE}
Write-Host "Installing or upgrading stress test $($pkg.ReleaseName) from $($pkg.Directory)"
Run helm upgrade $pkg.ReleaseName $pkg.Directory `

View File

@ -49,7 +49,7 @@ function NewStressTestPackageInfo([hashtable]$chart, [System.IO.FileInfo]$chartF
}
return [StressTestPackageInfo]@{
Namespace = $namespace
Namespace = $namespace.ToLower()
Directory = $chartFile.DirectoryName
ReleaseName = $chart.name
}