updating chart.yaml for stress-test-addons (#3081)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
This commit is contained in:
parent
198327e16c
commit
a583bc293b
@ -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 `
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user