Enable SecurityContext features.
parent
a3ff9d751e
commit
9379c4360d
|
@ -42,7 +42,7 @@ func StartAPIServer(lk LocalkubeServer) func() error {
|
|||
config.ClientCAFile = lk.GetPublicKeyCertPath()
|
||||
config.TLSCertFile = lk.GetPublicKeyCertPath()
|
||||
config.TLSPrivateKeyFile = lk.GetPrivateKeyCertPath()
|
||||
config.AdmissionControl = "NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota"
|
||||
config.AdmissionControl = "NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota"
|
||||
|
||||
// use localkube etcd
|
||||
config.StorageConfig = storagebackend.Config{ServerList: KubeEtcdClientURLs}
|
||||
|
|
Loading…
Reference in New Issue