[BUG] Pasting multi-line environment variables into "Agent Environment Vars" results in incorrect parsing of values #13070
Labels
area/clusterprovisioningv2
JIRA
kind/bug
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
Milestone
Setup
Describe the bug
When copying and pasting a multi-line string of environment variables into the "variable name" field in Cluster Manager’s Agent Environment Vars section, the values are incorrectly parsed. This happens when the pasted string includes multiple key-value pairs separated by either = or :. The values are not properly extracted, causing incorrect data.
To Reproduce
Result
The values are not parsed correctly, resulting in incorrectly formatted values. The environment variables are not populated as expected.
Expected Result
The pasted multi-line string should be correctly parsed into key-value pairs by splitting on the first occurrence of = or :.
Screenshots
Additional context
SURE-9553
The text was updated successfully, but these errors were encountered: