OctopusDeploy / Issues

| Public | Bug reports and known issues for Octopus Deploy and all related tools
https://octopus.com
162 stars 20 forks source link

Formatting for the new 'Template Values' field (Inline YAML) in the 'Deploy a Helm Chart' step is not correct in the OCL file in GIT when using a Config as Code Project. #8964

Open Clare-Octopus opened 1 month ago

Clare-Octopus commented 1 month ago

Severity

Not blocking customers but makes it difficult for them to edit that action in the OCL file if editing in GIT.

Version

2024.3.8427

Latest Version

I could reproduce the problem in the latest build

What happened?

If you have a config as code project and have inline YAML values in the Deploy A Helm Chart step its easily viewable in the UI:

image

However, when you commit that to Git the action values are mixed in with extra formatting which makes it hard to edit when editing it directly from the OCL file in GIT:

image

Reproduction

  1. Create a config as code project
  2. Add a Deploy a Helm Chart step
  3. Add Template Values as Inline YAML
  4. Check .ocl file in the GIT repository.

Error and Stacktrace

N/A

More Information

Customer ticket (internal) - https://octopus.zendesk.com/agent/tickets/198139 R and D Issue (Internal) - https://octopusdeploy.slack.com/archives/CNHBHV2BX/p1722947197912589

Workaround

None at the moment, editing via the UI is the best way of doing it to ensure the YAML is correct.