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

Detected RANCHER_ADDRESS has trailing /v2-beta #36

Open
flaccid opened this issue Oct 10, 2017 · 0 comments
Open

Detected RANCHER_ADDRESS has trailing /v2-beta #36

flaccid opened this issue Oct 10, 2017 · 0 comments

Comments

@flaccid
Copy link
Contributor

flaccid commented Oct 10, 2017

In some cases (not sure) why when using https://github.com/ndelitski/rancher-alarms#inside-rancher-environment-using-rancher-compose-cli the effective rancher address detected is has `/v2-beta' trailing.

That is it tries to connect using:
"url": "https://rancher.blah.io/v2-beta/v1/projects/1a29/environments"
instead of:
"url": "https://rancher.blah.io/v1/projects/1a29/environments"

Workaround is to set env varRANCHER_ADDRESS to the right base address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant