Merge pull request #13162 from HirazawaUi/implement-UserNamespacesHostNetwork

Set the default of runtimeFeatures.UserNamespacesHostNetwork to true
This commit is contained in:
Samuel Karp
2026-08-07 07:19:56 +00:00
committed by GitHub

View File

@@ -21,6 +21,7 @@ import (
"fmt"
"io"
"net/http"
goruntime "runtime"
"slices"
"sync"
"sync/atomic"
@@ -281,7 +282,8 @@ func NewCRIService(options *CRIServiceOptions) (CRIService, runtime.RuntimeServi
}
c.runtimeFeatures = &runtime.RuntimeFeatures{
SupplementalGroupsPolicy: true,
SupplementalGroupsPolicy: true,
UserNamespacesHostNetwork: goruntime.GOOS == "linux",
}
if c.config.EnableCDI != nil && !*c.config.EnableCDI {