ROX-22288: Add test for operator metrics retrieval#9773
Conversation
|
Skipping CI for Draft Pull Request. |
7bfa06f to
795eb28
Compare
|
/test gke-operator-e2e-tests |
|
Images are ready for the commit at 4fd74d1. To use with deploy scripts, first |
try to prevent the following error on GKE Error: container has runAsNonRoot and image will run as root
|
/test gke-operator-e2e-tests |
|
/test gke-operator-e2e-tests |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9773 +/- ##
==========================================
- Coverage 47.63% 47.62% -0.02%
==========================================
Files 2461 2462 +1
Lines 166964 167376 +412
==========================================
+ Hits 79527 79706 +179
- Misses 80881 81090 +209
- Partials 6556 6580 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
/retest |
|
/retest |
vladbologa
left a comment
There was a problem hiding this comment.
Could you also test curl --http2 and make sure the response does not actually use HTTP/2, to make sure it stays disabled once we drop the kube-rbac-proxy?
Good idea, let me do this. |
Hm, unfortunately (?) Any idea what to check? Is the existence of |
|
I guess yes, since doing the same against google.com I get: |
Yes, that was also my impression of how this can be done. |
|
@porridge: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
johannes94
left a comment
There was a problem hiding this comment.
LGTM! I have nothing to add except that the failing ci/prow/ocp-4-11-scanner-v4-tests is a known issue.
Description
Add an e2e test that makes sure that requests to the metrics endpoint are treated as expected:
This is to make sure nothing breaks when we replace rbac-proxy sidecar with builtin code.
Checklist
Evaluated and added CHANGELOG entry if requiredDetermined and documented upgrade stepsDocumented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)No changes to production code.
Testing Performed
Here I tell how I validated my change
Ran the new test on a dev openshift and GKE cluster with
--skip-delete, and inspected pods logs to make sure it's working as expected.Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.