uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
548 stars 148 forks source link

Trim environment variable names #3665

Closed seanhamlin closed 3 months ago

seanhamlin commented 4 months ago

Variables names are not trimmed of leading and trailing spaces. This can lead to issues when loading the variables into a configmap during a build.

It would be good to trim the variable name of spaces. The value of the variable can be empty, but it might still be OK to trim the value of leading and trailing spaces too.