uselagoon / lagoon-ui

Apache License 2.0
6 stars 2 forks source link

Unable to add environment variable values that contain newlines #257

Closed rocketeerbkw closed 7 hours ago

rocketeerbkw commented 1 month ago

The environment variable form uses an <input type="text" /> field for variable values, but this makes it so that newlines can't be used in values.

Newlines are needed when adding things like certificates or SSH keys. The current way to do it is by using the lagoon cli, but that comes with a lot of friction because many users don't know how to properly escape bash strings with newlines.