-
Notifications
You must be signed in to change notification settings - Fork 12
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
OCPNODE-2734: Replace gcr.io/kubebuilder/kube-rbac-proxy image #346
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
WithAuthenticationAndAuthorization
filter
@sairameshv: This pull request references OCPNODE-2734 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@sairameshv: This pull request references OCPNODE-2734 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
I think you are missing a few services/role binding for this to work. ex: kubernetes-sigs/jobset#722 I tested this by creating a metrics pod and using curl to verify that I could view the metrics if I use the right certs. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sairameshv The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We don't have any metrics yet so not sure what we would test. I guess you can try grabbing the metrics from controller-runtime? |
Having the vendor update in a separate commit would be helpful for the review. |
Still a lot of references to the proxy:
|
433dd80
to
d5684c8
Compare
d5684c8
to
ca17b38
Compare
bundle-ocp/manifests/instaslice-operator-controller-manager-metrics-service_v1_service.yaml
Show resolved
Hide resolved
ca17b38
to
b099c0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved the review comments, Added the e2e test to validate the /metrics
endpoint.
/hold cancel
bundle-ocp/manifests/instaslice-operator-controller-manager-metrics-service_v1_service.yaml
Show resolved
Hide resolved
@sairameshv: This pull request references OCPNODE-2734 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
b099c0b
to
3773181
Compare
3773181
to
cc82149
Compare
Signed-off-by: Sai Ramesh Vanka <[email protected]>
- Add the `WithAuthenticationAndAuthorization` filter to support deprecation of kube-rbac-proxy image from the kubebuilder repository - Add metrics-reader cluster role binding and the metrics service - Add e2e test case to validate the `/metrics` endpoint Signed-off-by: Sai Ramesh Vanka <[email protected]>
cc82149
to
f7cbf35
Compare
@sairameshv: all tests passed! Full PR test history. Your PR dashboard. Instructions 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-sigs/prow repository. I understand the commands that are listed here. |
Fixes #291
Add the
WithAuthenticationAndAuthorization
filter to support deprecation of kube-rbac-proxy image from the kubebuilder repositorymake lint
,make test
,make test-e2e-kind-emulated
pass locallyThere is no e2e test as of now to test this metrics endpoint, I would like to add the same and holding this PR until then/hold
Added e2e test to validate the
/metrics
endpoint exposed by the instaslice-operator's service/cc @rphillips @kannon92 @mamy-CS