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

🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default #3945

Conversation

camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented May 22, 2024

When we discontinued the usage of kube-rbac-proxy we placed the Metrics Service under config/rbac but it is not the best place to fit this resource. Furthermore, within those changes we are ensuring that the metrics service will only be applied if/when users enable the metrics.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 22, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 22, 2024
@camilamacedo86 camilamacedo86 requested review from joelanford and removed request for Kavinjsir and everettraven May 22, 2024 05:51
@camilamacedo86 camilamacedo86 changed the title (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default IGNORE TEST - WIP May 22, 2024
@camilamacedo86 camilamacedo86 changed the title IGNORE TEST - WIP (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default IGNORE TEST - WIP 20 minutes ago May 22, 2024
@camilamacedo86 camilamacedo86 changed the title (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default IGNORE TEST - WIP 20 minutes ago (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default May 22, 2024
@camilamacedo86 camilamacedo86 changed the title (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/manager May 22, 2024
@camilamacedo86 camilamacedo86 changed the title (Blocked by #3937) - 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/manager 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/manager May 22, 2024
@camilamacedo86 camilamacedo86 force-pushed the fix-place-metrics-service branch 2 times, most recently from fa283ef to 7ef4c2c Compare May 22, 2024 19:53
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 22, 2024
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 22, 2024
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 23, 2024
@camilamacedo86 camilamacedo86 changed the title 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/manager 🐛 fix place where metrics service is scaffolded by moving from config/rbac to config/default May 23, 2024
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 23, 2024
@camilamacedo86 camilamacedo86 force-pushed the fix-place-metrics-service branch 5 times, most recently from 4ab0071 to 22a8425 Compare May 23, 2024 08:12
…bac to config/default

When we discontinued the usage of kube-rbac-proxy we placed the Metrics Service under config/rbac but it is not the best place to fit this resource. Furthermore, within those changes we are ensuring that the metrics service will only be applied if/when users enable the metrics.
@joelanford
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 23, 2024
@camilamacedo86 camilamacedo86 merged commit e1497bf into kubernetes-sigs:master May 23, 2024
16 of 18 checks passed
@camilamacedo86 camilamacedo86 deleted the fix-place-metrics-service branch May 23, 2024 12:53
camilamacedo86 added a commit that referenced this pull request May 23, 2024
…y moving from config/rbac to config/default (#3948)

(cherry-pick #3945) fix place where metrics service is scaffolded by moving from config/rbac to config/default (#3948)

When we discontinued the usage of kube-rbac-proxy we placed the Metrics Service under config/rbac but it is not the best place to fit this resource. Furthermore, within those changes we are ensuring that the metrics service will only be applied if/when users enable the metrics.

* Upgrade sample testdata in the v3x branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-blocker size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants