You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the current string splitting logic, the spaces before the env variables become a part of the variable passed to Rancher (1.6.30) which result in an invalid env variable which appears in the Rancher UI (e.g. <space>DB_HOST, incl. the space) but is not passed to the container.
Expected outcome:
Variable names and values are trimmed when passing as string with --variables option.
The text was updated successfully, but these errors were encountered:
dimw
added a commit
to dimw/rancher-gitlab-deploy
that referenced
this issue
Sep 7, 2021
Actual behaviour:
When passing multiple variables alongside with the
--variables
multiline configuration might be used:Which result in the following command after YAML is processed:
upgrade --variables " DB_HOST=db.example.com, DB_USER=foo, DB_PASSWORD=bar"
Due to the current string splitting logic, the spaces before the env variables become a part of the variable passed to Rancher (1.6.30) which result in an invalid env variable which appears in the Rancher UI (e.g.
<space>DB_HOST
, incl. the space) but is not passed to the container.Expected outcome:
Variable names and values are trimmed when passing as string with
--variables
option.The text was updated successfully, but these errors were encountered: