-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bring back configmap RBAC permissions #1019
base: master
Are you sure you want to change the base?
Conversation
This change kubernetes-sigs@4a65c6a doesn't allow to run metrics-server in a separate namespace anymore. Bring back at least configmap permissions to allow for extension-apiserver-authentication::client-ca-file retrieval.
|
Welcome @ViliusS! |
Hi @ViliusS. 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 Once the patch is verified, the new status will be reflected by the 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ViliusS 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 |
Running metrics-server in different namespace than "kube-system" is not supported in official manifests. |
Even if it is so, previous change breaks compatibility. BTW, we were using metrics-server in different namespace for the past 2 years without issues. With this commit, we can use it again. |
Breaking change cannot be breaking if the behavior that was broken was never officially supported. I would need to see much more user impact to consider users using different namespace as valid use case. Users are free to modify official manifests, but this means they are expected to maintain the changes themselves. We just don't have enough capacity to support and test all possible configurations. You might want to consider using official Helm chart as it supports running in different namespace. |
Not sure how helm chart is built, but it looks like template still contains the same permission I'm proposing to bring back in manifest
Maybe this is why metrics-server installed via Helm works. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
If this will not be supported upstream, you can change this behavior on your side, and before deploying your metric server, you can add that change. @serathius, what are your thoughts here? |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
What this PR does / why we need it:
This change 4a65c6a doesn't allow to run metrics-server in a separate namespace anymore.
Bring back at least configmap permissions to allow for extension-apiserver-authentication::client-ca-file retrieval.