Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'bad variable name' when launching apply.sh in tools container #220

Open
deleeuwblue opened this issue Sep 29, 2022 · 1 comment
Open

'bad variable name' when launching apply.sh in tools container #220

deleeuwblue opened this issue Sep 29, 2022 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@deleeuwblue
Copy link

Using iascable 2.20.1, I encountered this error when testing with Docker on Linux, using the tools container quay.io/cloudnativetoolkit/cli-tools:v1.2-v2.2.11

apply.sh: export: line 1: gitops-repo_token: bad variable name

@niklas tested the same with Mulipass and did not encounter this error.

@deleeuwblue deleeuwblue added the bug Something isn't working label Sep 29, 2022
@seansund
Copy link
Member

seansund commented Oct 4, 2022

This is an issue with POSIX environment variable definitions - dashes (-) are not allowed - https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html

The workaround is to update the bom.yaml so that the aliases are defined with underscores instead of dashes. This issue primarily effects sensitive variables that will be provided as environment variables.

@timroster timroster added the wontfix This will not be worked on label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants