mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
Add HostNetworkSources capability to limit use of HostNetwork.
This commit is contained in:
@@ -184,6 +184,8 @@ func (s *APIServer) Run(_ []string) error {
|
||||
|
||||
capabilities.Initialize(capabilities.Capabilities{
|
||||
AllowPrivileged: s.AllowPrivileged,
|
||||
// TODO(vmarmol): Implement support for HostNetworkSources.
|
||||
HostNetworkSources: []string{},
|
||||
})
|
||||
|
||||
cloud := cloudprovider.InitCloudProvider(s.CloudProvider, s.CloudConfigFile)
|
||||
|
Reference in New Issue
Block a user