tke icon indicating copy to clipboard operation
tke copied to clipboard

fix(auth): allow anyone to get cluster-info in kube-public

Open xiaosuiba opened this issue 3 years ago • 1 comments

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind bug

What this PR does / why we need it: According to official docs, anyone could read resources in kube-public namespace https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/

Which issue(s) this PR fixes:

Fixes #1332

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


xiaosuiba avatar Jun 02 '21 03:06 xiaosuiba

@metang326 please check this PR, thx.

leoryu avatar Jun 03 '21 07:06 leoryu