mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
hostprocess is on by default, no longer needed
This commit is contained in:
parent
0a2b6cab78
commit
fcb4967039
@ -27,7 +27,6 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/fields"
|
||||
"k8s.io/apimachinery/pkg/util/uuid"
|
||||
"k8s.io/kubernetes/pkg/features"
|
||||
"k8s.io/kubernetes/test/e2e/framework"
|
||||
e2emetrics "k8s.io/kubernetes/test/e2e/framework/metrics"
|
||||
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
|
||||
@ -80,7 +79,6 @@ var (
|
||||
var _ = SIGDescribe("[Feature:WindowsHostProcessContainers] [Excluded:WindowsDocker] [MinimumKubeletVersion:1.22] HostProcess containers", func() {
|
||||
ginkgo.BeforeEach(func() {
|
||||
e2eskipper.SkipUnlessNodeOSDistroIs("windows")
|
||||
SkipUnlessWindowsHostProcessContainersEnabled()
|
||||
})
|
||||
|
||||
f := framework.NewDefaultFramework("host-process-test-windows")
|
||||
@ -744,9 +742,3 @@ func getCurrentHostProcessMetrics(f *framework.Framework, nodeName string) (Host
|
||||
|
||||
return result, nil
|
||||
}
|
||||
|
||||
func SkipUnlessWindowsHostProcessContainersEnabled() {
|
||||
if !framework.TestContext.FeatureGates[string(features.WindowsHostProcessContainers)] {
|
||||
e2eskipper.Skipf("Skipping test because feature 'WindowsHostProcessContainers' is not enabled")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user