Allow privileged pods.
parent
a4150c2523
commit
e5c3564f9e
|
@ -55,6 +55,8 @@ func StartAPIServer(lk LocalkubeServer) func() error {
|
|||
config.EnableWatchCache = true
|
||||
config.MinRequestTimeout = 1800
|
||||
|
||||
config.AllowPrivileged = true
|
||||
|
||||
return func() error {
|
||||
return apiserver.Run(config)
|
||||
}
|
||||
|
|
|
@ -38,6 +38,8 @@ func StartKubeletServer(lk LocalkubeServer) func() error {
|
|||
// Set containerized based on the flag
|
||||
config.Containerized = lk.Containerized
|
||||
|
||||
config.AllowPrivileged = true
|
||||
|
||||
// Networking
|
||||
config.ClusterDomain = lk.DNSDomain
|
||||
config.ClusterDNS = lk.DNSIP.String()
|
||||
|
|
Loading…
Reference in New Issue