Skip to content

Commit bafd0c4

Browse files
Merge pull request #1001 from s-urbaniak/podsecurity-default
config/v1: add PodSecurity to Default features
2 parents c9d6fcc + 365874e commit bafd0c4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

config/v1/types_feature.go

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ var defaultFeatures = &FeatureGateEnabledDisabled{
140140
"NodeDisruptionExclusion", // sig-scheduling, ccoleman
141141
"ServiceNodeExclusion", // sig-scheduling, ccoleman
142142
"DownwardAPIHugePages", // sig-node, rphillips
143+
"PodSecurity", // sig-auth, s-urbaniak
143144
},
144145
Disabled: []string{
145146
"LegacyNodeRoleBehavior", // sig-scheduling, ccoleman

config/v1/types_features_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func TestFeatureBuilder(t *testing.T) {
2626
"NodeDisruptionExclusion",
2727
"ServiceNodeExclusion",
2828
"DownwardAPIHugePages",
29+
"PodSecurity",
2930
},
3031
Disabled: []string{
3132
"LegacyNodeRoleBehavior",
@@ -44,6 +45,7 @@ func TestFeatureBuilder(t *testing.T) {
4445
"NodeDisruptionExclusion",
4546
"ServiceNodeExclusion",
4647
"DownwardAPIHugePages",
48+
"PodSecurity",
4749
"LegacyNodeRoleBehavior",
4850
},
4951
Disabled: []string{},
@@ -59,6 +61,7 @@ func TestFeatureBuilder(t *testing.T) {
5961
"NodeDisruptionExclusion",
6062
"ServiceNodeExclusion",
6163
"DownwardAPIHugePages",
64+
"PodSecurity",
6265
},
6366
Disabled: []string{
6467
"LegacyNodeRoleBehavior",
@@ -78,6 +81,7 @@ func TestFeatureBuilder(t *testing.T) {
7881
"NodeDisruptionExclusion",
7982
"ServiceNodeExclusion",
8083
"DownwardAPIHugePages",
84+
"PodSecurity",
8185
"LegacyNodeRoleBehavior",
8286
"other",
8387
},

0 commit comments

Comments
 (0)