Skip to content

Commit b8c88d3

Browse files
committed
features: set user namespace features on by default
Signed-off-by: Peter Hunt <[email protected]>
1 parent d22fca8 commit b8c88d3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

features/.features.go.swp

56 KB
Binary file not shown.

features/features.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -687,23 +687,26 @@ var (
687687
contactPerson("haircommander").
688688
productScope(kubernetes).
689689
enhancementPR("https://github.com/kubernetes/enhancements/issues/127").
690-
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
690+
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade, configv1.Default).
691691
mustRegister()
692692

693+
// Note: this feature is perma-alpha, but it is safe and desireable to enable.
694+
// It was an oversight in upstream to not remove the feature gate after the version skew became safe in 1.33.
695+
// See https://github.com/kubernetes/enhancements/tree/d4226c42/keps/sig-node/127-user-namespaces#pod-security-standards-pss-integration
693696
FeatureGateUserNamespacesPodSecurityStandards = newFeatureGate("UserNamespacesPodSecurityStandards").
694697
reportProblemsToJiraComponent("Node").
695698
contactPerson("haircommander").
696699
productScope(kubernetes).
697700
enhancementPR("https://github.com/kubernetes/enhancements/issues/127").
698-
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
701+
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade, configv1.Default).
699702
mustRegister()
700703

701704
FeatureGateProcMountType = newFeatureGate("ProcMountType").
702705
reportProblemsToJiraComponent("Node").
703706
contactPerson("haircommander").
704707
productScope(kubernetes).
705708
enhancementPR("https://github.com/kubernetes/enhancements/issues/4265").
706-
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
709+
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade, configv1.Default).
707710
mustRegister()
708711

709712
FeatureGateVSphereMultiNetworks = newFeatureGate("VSphereMultiNetworks").

0 commit comments

Comments
 (0)