mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
refactor(apiserver): ignore the insecure flags
Leave the insecure flags intact but stop serving on insecure port.
This commit is contained in:
@@ -55,8 +55,6 @@ func (a *APIServer) Start() error {
|
||||
return err
|
||||
}
|
||||
o.SecureServing.BindAddress = net.ParseIP("127.0.0.1")
|
||||
// Disable insecure serving
|
||||
o.InsecureServing.BindPort = 0
|
||||
o.ServiceClusterIPRanges = ipnet.String()
|
||||
o.AllowPrivileged = true
|
||||
if err := generateTokenFile(tokenFilePath); err != nil {
|
||||
|
Reference in New Issue
Block a user