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
A helm deployment should retrieve the deployment information after deployment and does not return a warning.
Actual behavior
The deployment information is not retrieved and a warning is displayed when the release name includes a templated value.
WARN[0035] error retrieving helm deployment info: Error: invalid release name, must match regex ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])+$ and the length must not longer than 53
The warning above occurs due to the code here using r.Name instead of releaseName from here.
The helm release name can be templated so within the `deployRelease`
function the `releaseName` variable should be used any time the release
name is desired.
This commit updates the final call to `getDeployResults` to properly use
the `releaseName` variable.
Expected behavior
A helm deployment should retrieve the deployment information after deployment and does not return a warning.
Actual behavior
The deployment information is not retrieved and a warning is displayed when the release name includes a templated value.
WARN[0035] error retrieving helm deployment info: Error: invalid release name, must match regex ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])+$ and the length must not longer than 53
The warning above occurs due to the code here using
r.Name
instead ofreleaseName
from here.So line 239 should be changed from:
to
The text was updated successfully, but these errors were encountered: