Add NonRoot feature gate
We are going to test NonRoot extensively from now on
and therefore there is no reason to call it
Experimental.
@@ -42,7 +42,8 @@ const (
VirtIOFSGate = "ExperimentalVirtiofsSupport"
MacvtapGate = "Macvtap"
DownwardMetricsFeatureGate = "DownwardMetrics"
- NonRoot = "NonRootExperimental"
+ NonRootDeprecated = "NonRootExperimental"
+ NonRoot = "NonRoot"
ClusterProfiler = "ClusterProfiler"
WorkloadEncryptionSEV = "WorkloadEncryptionSEV"
)
@@ -126,7 +127,7 @@ func (config *ClusterConfig) HostDevicesPassthroughEnabled() bool {
}
func (config *ClusterConfig) NonRootEnabled() bool {
- return config.isFeatureGateEnabled(NonRoot)
+ return config.isFeatureGateEnabled(NonRoot) || config.isFeatureGateEnabled(NonRootDeprecated)
}
func (config *ClusterConfig) ClusterProfilerEnabled() bool {
