Fix registration for statusz and flagz in apiserver, kubelet#137420
Fix registration for statusz and flagz in apiserver, kubelet#137420k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The DetailsInstructions 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. |
Can this ^^^ be tested? |
d62bd1d to
e111bf4
Compare
Being tested by existing tests (failing TestInstallAuthNotRequiredHandlers) in #137384 which is what brought attention to the incorrect installation for statusz. Actually "ensures they do not bypass authentication." is not quite right, the issue was that previously statusz handler was being installed unconditionally (gated behind the feature flag). So when we graduated the ComponentStatusz feature gate to beta, the statusz handler started getting installed unconditionally and |
e111bf4 to
8f2834c
Compare
SergeyKanzhelev
left a comment
There was a problem hiding this comment.
/approve
ok for kubelet
8f2834c to
afe4d27
Compare
751879c to
a206ee2
Compare
Co-authored-by: Jordan Liggitt <[email protected]>
a206ee2 to
426bb7c
Compare
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: e2fac9f7e9eed5e56951ee707e7c94f9351f0778 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, richabanker, SergeyKanzhelev The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Install both flagz and statusz handlers together at the end of the debugging handlers block. This ensures they are disabled when debugging handlers on kubelet are disabled
Which issue(s) this PR is related to:
Issues: kubernetes/enhancements#4827, kubernetes/enhancements#4828
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: