mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
modify two wrong description about InsecurePort
Signed-off-by: PingWang <wang.ping5@zte.com.cn> Update genericapiserver.go Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
parent
8f08cb3391
commit
a7cea72e66
@ -658,7 +658,7 @@ func (s *GenericAPIServer) Run(options *options.ServerRunOptions) {
|
||||
if s.enableSwaggerSupport {
|
||||
s.InstallSwaggerAPI()
|
||||
}
|
||||
// We serve on 2 ports. See docs/accessing_the_api.md
|
||||
// We serve on 2 ports. See docs/admin/accessing-the-api.md
|
||||
secureLocation := ""
|
||||
if options.SecurePort != 0 {
|
||||
secureLocation = net.JoinHostPort(options.BindAddress.String(), strconv.Itoa(options.SecurePort))
|
||||
|
Loading…
Reference in New Issue
Block a user