Remove ability for anonymous authentication
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.pull/615/head
parent
ca96371e4d
commit
460efa6990
|
@ -74,6 +74,7 @@ Documentation=https://github.com/kubernetes/kubernetes
|
||||||
ExecStart=/usr/local/bin/kube-apiserver \\
|
ExecStart=/usr/local/bin/kube-apiserver \\
|
||||||
--advertise-address=${INTERNAL_IP} \\
|
--advertise-address=${INTERNAL_IP} \\
|
||||||
--allow-privileged=true \\
|
--allow-privileged=true \\
|
||||||
|
--anonymous-auth=false \\
|
||||||
--apiserver-count=3 \\
|
--apiserver-count=3 \\
|
||||||
--audit-log-maxage=30 \\
|
--audit-log-maxage=30 \\
|
||||||
--audit-log-maxbackup=3 \\
|
--audit-log-maxbackup=3 \\
|
||||||
|
|
Loading…
Reference in New Issue