You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.stress-test.v3" is invalid: data: Too long: must have at most 1048576 bytes
@@ -324,12 +327,13 @@ function DeployStressPackage(
324
327
# Helm 3 stores release information in kubernetes secrets. The only way to add extra labels around
325
328
# specific releases (thereby enabling filtering on `helm list`) is to label the underlying secret resources.
326
329
# There is not currently support for setting these labels via the helm cli.
327
-
$helmReleaseConfig= RunOrExitOnFailure kubectl get secrets `
330
+
if(!$Template) {
331
+
$helmReleaseConfig= RunOrExitOnFailure kubectl get secrets `
328
332
-n $pkg.Namespace`
329
333
-l "status=deployed,name=$($pkg.ReleaseName)"`
330
334
-o jsonpath='{.items[0].metadata.name}'
331
-
332
-
Run kubectl label secret -n $pkg.Namespace--overwrite $helmReleaseConfig deployId=$deployId
335
+
Run kubectl label secret -n $pkg.Namespace--overwrite $helmReleaseConfig deployId=$deployId
0 commit comments