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

Flagger has unauthorized access to Prometheus in Rancher v.2.4.8 #717

Closed
DanielDziubecki opened this issue Oct 23, 2020 · 0 comments · Fixed by #746
Closed

Flagger has unauthorized access to Prometheus in Rancher v.2.4.8 #717

DanielDziubecki opened this issue Oct 23, 2020 · 0 comments · Fixed by #746

Comments

@DanielDziubecki
Copy link

Hi, we are using Rancher v.2.4.8 and his integration with Prometheus. Rancher is using this auth-plugin https://github.com/rancher/prometheus-auth which is protecting access to query path which flagger needs to access. This is causing a following error:

Metrics server http://prometheus-operated.cattle-prometheus.svc.cluster.local:9090 unreachable running query failed: error response: unauthorized

We would like to somehow add the required token/secret/serviceaccount so that Flagger could use it to authorize in Prometheus.

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

Successfully merging a pull request may close this issue.

1 participant