Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Juju verify is ignoring environment variables #145

Open
err404r opened this issue Nov 1, 2022 · 2 comments
Open

Juju verify is ignoring environment variables #145

err404r opened this issue Nov 1, 2022 · 2 comments
Labels
Confirmed feature Add new feature

Comments

@err404r
Copy link

err404r commented Nov 1, 2022

On the production environments model and controller often set by environment variables. And from the tests it looks like JUJU_CONTROLLER and JUJU_MODEL environment variables are ignored.

@err404r err404r changed the title Juju verify is ignoring environment variable Juju verify is ignoring environment variables Nov 1, 2022
@rgildein rgildein added feature Add new feature Confirmed labels Nov 1, 2022
@rgildein
Copy link
Contributor

rgildein commented Nov 1, 2022

Hi, are you using CLI version or in custom script? You can use --model to configure which model you want to run verifiers on. I think it's good idea to use JUJU_MODEL environment variable if --model was not provided.
Also adding --controller option along with JUJU_CONTROLLER env variable is good idea.
Thanks for your feedback.

@err404r
Copy link
Author

err404r commented Nov 1, 2022

Hi, we are on the lates/stable channel so version is 1.1 and --controller option is not supported.

@Pjack Pjack added Critical and removed Critical labels Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Confirmed feature Add new feature
Projects
None yet
Development

No branches or pull requests

3 participants