-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat(metrics-operator): add basicauth to prometheus provider #2154
Conversation
✅ Deploy Preview for keptn-lifecycle-toolkit ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2154 +/- ##
==========================================
- Coverage 84.56% 75.09% -9.48%
==========================================
Files 153 68 -85
Lines 9881 4493 -5388
==========================================
- Hits 8356 3374 -4982
+ Misses 1237 954 -283
+ Partials 288 165 -123
... and 100 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
metrics-operator/controllers/common/providers/prometheus/common.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/common.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/common_test.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/common.go
Outdated
Show resolved
Hide resolved
Signed-off-by: realanna <[email protected]>
… for specifying time frame (#2147) Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: realanna <[email protected]> fix: link Signed-off-by: realanna <[email protected]> Update metrics-operator/controllers/common/providers/prometheus/prometheus.go Co-authored-by: Florian Bacher <[email protected]> Signed-off-by: RealAnna <[email protected]> Update metrics-operator/controllers/common/providers/prometheus/common.go Co-authored-by: Florian Bacher <[email protected]> Signed-off-by: RealAnna <[email protected]> fix: embed getter in the struct Signed-off-by: realanna <[email protected]> Update metrics-operator/controllers/common/providers/prometheus/prometheus.go Co-authored-by: odubajDT <[email protected]> Signed-off-by: RealAnna <[email protected]> fix: add unit test to make ondrej happy Signed-off-by: realanna <[email protected]> fix: removed skip lint Signed-off-by: realanna <[email protected]> fix: removed dd special func for secrets Signed-off-by: realanna <[email protected]> fix: useless test setup Signed-off-by: realanna <[email protected]> feat(metrics-operator): add unit test Signed-off-by: realanna <[email protected]> feat(metrics-operator): add unit test Signed-off-by: realanna <[email protected]> feat(metrics-operator): add integration test Signed-off-by: realanna <[email protected]> feat(metrics-operator): lint Signed-off-by: realanna <[email protected]> feat(metrics-operator): lint Signed-off-by: realanna <[email protected]> feat(metrics-operator): revert change to ddprovider Signed-off-by: realanna <[email protected]> feat(metrics-operator): fixed test Signed-off-by: realanna <[email protected]> feat(metrics-operator): use roundtripper from prometheus api Signed-off-by: realanna <[email protected]> feat(metrics-operator): add test of header Signed-off-by: realanna <[email protected]> feat(metrics-operator): add unit tests Signed-off-by: realanna <[email protected]> feat(metrics-operator): first iteration on prometheus auth Signed-off-by: realanna <[email protected]>
Signed-off-by: realanna <[email protected]>
86bfa52
to
16954d3
Compare
Signed-off-by: realanna <[email protected]>
Signed-off-by: realanna <[email protected]>
Co-authored-by: odubajDT <[email protected]> Signed-off-by: RealAnna <[email protected]>
Signed-off-by: realanna <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
closes #2128
this feature allows to send api calls to Prometheus using user and password