I have been following here kubernetes github and to change basic to token based authentication. It says to change
--authentication-mode=basic
to
--authentication-mode=token
but my question is where to change? which file? which yml?
It would really great if you provide an example of yaml configuration file.
--authentication-mode
flag is for kubernetes dashboard. Add/Change this flag in kubernetes dashboard deployment.If you are using this to deploy kubernetes dashboard, then add/change flag in the deployment yaml.