Open flaccid opened 7 years ago
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.
RANCHER_ADDRESS
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 var
RANCHER_ADDRESS
to the right base address.