File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
eng/common/scripts/stress-testing Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -315,10 +315,10 @@ function DeployStressPackage(
315315 # Helm 3 stores release information in kubernetes secrets. The only way to add extra labels around
316316 # specific releases (thereby enabling filtering on `helm list`) is to label the underlying secret resources.
317317 # There is not currently support for setting these labels via the helm cli.
318- $helmReleaseConfig = kubectl get secrets `
319- - n $pkg.Namespace `
320- - l status= deployed, name= $ ($pkg.ReleaseName ) `
321- - o jsonpath= ' {.items[0].metadata.name}'
318+ $helmReleaseConfig = RunOrExitOnFailure kubectl get secrets `
319+ - n $pkg.Namespace `
320+ - l " status=deployed,name=$ ( $pkg.ReleaseName ) " `
321+ - o jsonpath= ' {.items[0].metadata.name}'
322322
323323 Run kubectl label secret - n $pkg.Namespace -- overwrite $helmReleaseConfig deployId= $deployId
324324}
You can’t perform that action at this time.
0 commit comments