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

Set namespace for auth-reader rb to kube-system #1232

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

hamza3202
Copy link
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1231

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 30, 2023
@k8s-ci-robot k8s-ci-robot requested a review from serathius March 30, 2023 13:16
@k8s-ci-robot
Copy link
Contributor

Welcome @hamza3202!

It looks like this is your first PR to kubernetes-sigs/metrics-server 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/metrics-server has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 30, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @hamza3202. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 30, 2023
@stevehipwell
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 30, 2023
@stevehipwell
Copy link
Contributor

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 30, 2023
@stevehipwell
Copy link
Contributor

/retest

3 similar comments
@stevehipwell
Copy link
Contributor

/retest

@stevehipwell
Copy link
Contributor

/retest

@stevehipwell
Copy link
Contributor

/retest

@stevehipwell
Copy link
Contributor

/approve

@serathius could you take a look and give this a LGTM?

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hamza3202, stevehipwell

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 30, 2023
@serathius
Copy link
Contributor

I can lgtm, but don't know much about running metrics server in namespaces other than kube-system. In standard deployment we just don't allow alternative namespaces. It might not be the only bug in Helm chart with running MS in other namespaces.

/ltgm

@stevehipwell
Copy link
Contributor

@serathius this PR is just reverting a typo I made. I think you miss spelt the LGTM.

@hamza3202
Copy link
Contributor Author

@serathius can you please fix the typo so that this can proceed?

@serathius
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 3, 2023
@k8s-ci-robot k8s-ci-robot merged commit 2487f21 into kubernetes-sigs:master Apr 3, 2023
@hamza3202 hamza3202 deleted the patch-1 branch April 3, 2023 13:12
@hamza3202
Copy link
Contributor Author

Might be a bit too late to ask this but what is the release process for this helm chart? Should I also have updated the chart version or is that something done separately?

@stevehipwell
Copy link
Contributor

@hamza3202 I've got another couple of issues/PRs to look at and then I might create a PR to release the chart. As @serathius said in his reply, Metrics Server is expected to be run in kube-system which is why this wasn't picked up as a bug. I wanted the PR for correctness not necessarily to support running in an alternate namespace.

@hamza3202
Copy link
Contributor Author

hamza3202 commented Apr 3, 2023

My 2 cents on the above discussion:
We have been running metrics server in its own namespace without any issues.
We use a managed kubernetes solution and so we prefer to do only strictly required changes in the kube-system namespace and setup everything else in dedicated namespaces.

You may not have intentionally supported this but nevertheless it used to work before and it would be great if it started working again as well so that things may not un-intentionally break for others.

@stevehipwell
Copy link
Contributor

@hamza3202 this change will be released by #1244

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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm chart: Wrong role binding for accessing extension-apiserver-authentication
4 participants