When using variables in Template values on step Deploy a HELM chart, they are not evaluated as expected and print as the unevaluated string:
Unable to find file values/#{Octopus.Environment.Name}.yaml for package nginx v18.2.2
Unable to find file #{Project.HelmYamlFile} for package nginx v18.2.2
Previous versions evaluate correctly and allow the deployment to continue:
Unable to find file values/dev.yaml for package nginx v18.2.2
Severity
Blocking
Version
2025.1.7128
Latest Version
None
What happened?
When using variables in Template values on
step Deploy a HELM chart
, they are not evaluated as expected and print as the unevaluated string:Unable to find file
values/#{Octopus.Environment.Name}.yaml
for package nginx v18.2.2 Unable to find file#{Project.HelmYamlFile}
for package nginx v18.2.2Previous versions evaluate correctly and allow the deployment to continue:
Unable to find file
values/dev.yaml
for package nginx v18.2.2Reproduction
Internal instance link to repro.
Error and Stacktrace
More Information
Likely related to: https://github.com/OctopusDeploy/Calamari/pull/1426 Internal ticket
No response
Workaround
Hardcode the variable instead.