-
Notifications
You must be signed in to change notification settings - Fork 62
fix : remove kube-rbac-proxy
sidecar metric proxy container from Operator deployment
#1437
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Rohan Kumar <[email protected]>
Updated CRD manifests in deploy/ directory to include new requirements in controller-runtime upgrade Signed-off-by: Rohan Kumar <[email protected]>
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rohanKanojia 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 |
2a64641
to
bc2d72c
Compare
/ok-to-test |
bc2d72c
to
4c4e17e
Compare
Signed-off-by: Rohan Kumar <[email protected]>
Signed-off-by: Rohan Kumar <[email protected]>
4c4e17e
to
5e719a8
Compare
/ok-to-test |
PR needs rebase. 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. |
What does this PR do?
As mentioned in #1352 and #1343 (comment) , using
kube-rbac-proxy
sidecar container is deprecated and is causing issues in configuring Operator resource/limits via Operator subscription.This PR removes this sidecar container and uses controller-runtime's inbuilt
WithAuthenticationAndAuthorization
. Now that we don't have a proxy, we can directly post metrics on 8443 and 9443 ports for devworkspace-controller-manager and devworkspace-webhook-server respectively.Signed-off-by: Rohan Kumar [email protected]
What issues does this PR fix or reference?
#1343
Is it tested? How?
After making changes I made sure operator is running and metrics are accessible on 8443 and 9443 ports.
NAMESPACE=devworkspace-controller
make docker
make install
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-path
to trigger)v8-devworkspace-operator-e2e
: DevWorkspace e2e testv8-che-happy-path
: Happy path for verification integration with Che