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
# Issues like 'UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress'
297
-
# can be the result of cancelled `upgrade` operations (e.g. ctrl-c).
298
-
# See https://github.com/helm/helm/issues/4558
299
-
Write-Warning"The issue may be fixable by first running 'helm rollback -n $($pkg.Namespace)$($pkg.ReleaseName)'"
300
-
return
299
+
# 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
300
+
# Error: UPGRADE FAILED: create: failed to create: Request entity too large: limit is 3145728
301
+
if ($result-like"*Too long*"-or$result-like"*Too large*") {
302
+
$result
303
+
Write-Warning"*** Ensure any files or directories not part of the stress config are added to .helmignore ***"
304
+
Write-Warning"*** See https://helm.sh/docs/chart_template_guide/helm_ignore_file/ ***"
305
+
return
306
+
} else {
307
+
# Issues like 'UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress'
308
+
# can be the result of cancelled `upgrade` operations (e.g. ctrl-c).
309
+
# See https://github.com/helm/helm/issues/4558
310
+
Write-Warning"The issue may be fixable by first running 'helm rollback -n $($pkg.Namespace)$($pkg.ReleaseName)'"
311
+
return
312
+
}
301
313
}
302
314
303
315
# Helm 3 stores release information in kubernetes secrets. The only way to add extra labels around
0 commit comments