Add --anonymous-auth=false \
As the default allows anonymous authentication
--anonymous-auth Default: true
Enables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.
Add --anonymous-auth=false \ As the default allows anonymous authentication --anonymous-auth Default: true Enables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.
Reference: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/