Skip to content

Commit

Permalink
Remove unused NonRootExperimental feature gate
Browse files Browse the repository at this point in the history
The NonRootExperimental feature gate was deprecated in
PR kubevirt#8563.

There is no code that is affected by this feature gate.

Signed-off-by: Orel Misan <[email protected]>
  • Loading branch information
orelmisan committed Oct 17, 2023
1 parent 2823187 commit 5ce20e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/virt-api/webhooks/fuzz/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ func fuzzKubeVirtConfig(seed int64) *virtconfig.ClusterConfig {
virtconfig.MacvtapGate,
virtconfig.PasstGate,
virtconfig.DownwardMetricsFeatureGate,
virtconfig.NonRootDeprecated,
virtconfig.NonRoot,
virtconfig.Root,
virtconfig.ClusterProfiler,
Expand Down
2 changes: 0 additions & 2 deletions pkg/virt-config/feature-gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const (
MacvtapGate = "Macvtap"
PasstGate = "Passt"
DownwardMetricsFeatureGate = "DownwardMetrics"
NonRootDeprecated = "NonRootExperimental"
NonRoot = "NonRoot"
Root = "Root"
ClusterProfiler = "ClusterProfiler"
Expand Down Expand Up @@ -88,7 +87,6 @@ var deprecatedFeatureGates = [...]string{
LiveMigrationGate,
SRIOVLiveMigrationGate,
NonRoot,
NonRootDeprecated,
PSA,
CPUNodeDiscoveryGate,
}
Expand Down

0 comments on commit 5ce20e1

Please sign in to comment.