Skip to content

Commit

Permalink
Add SELinuxMount and SELinuxChangePolicy feature gates
Browse files Browse the repository at this point in the history
They're Kubernetes feature gates, both alpha in Kubernetes 1.32.
See https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1710-selinux-relabeling
  • Loading branch information
jsafrane committed Feb 25, 2025
1 parent 544b3ca commit fb62fe9
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 6 deletions.
2 changes: 2 additions & 0 deletions features.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
| ClusterVersionOperatorConfiguration| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
| Example2| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
| NewOLMCatalogdAPIV1Metas| | | | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> |
| SELinuxChangePolicy| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
| SELinuxMount| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
| NewOLM| | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> |
| AWSClusterHostedDNS| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| AutomatedEtcdBackup| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
Expand Down
27 changes: 21 additions & 6 deletions features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -743,12 +743,27 @@ var (
enableIn(configv1.DevPreviewNoUpgrade).
mustRegister()


FeatureGateGCPCustomAPIEndpoints = newFeatureGate("GCPCustomAPIEndpoints").
reportProblemsToJiraComponent("Installer").
contactPerson("barbacbd").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1492").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
reportProblemsToJiraComponent("Installer").
contactPerson("barbacbd").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1492").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

FeatureGateSELinuxChangePolicy = newFeatureGate("SELinuxChangePolicy").
reportProblemsToJiraComponent("Storage / Kubernetes External Components").
contactPerson("jsafrane").
productScope(kubernetes).
enhancementPR("https://github.com/kubernetes/enhancements/issues/1710").
enableIn(configv1.DevPreviewNoUpgrade).
mustRegister()

FeatureGateSELinuxMount = newFeatureGate("SELinuxMount").
reportProblemsToJiraComponent("Storage / Kubernetes External Components").
contactPerson("jsafrane").
productScope(kubernetes).
enhancementPR("https://github.com/kubernetes/enhancements/issues/1710").
enableIn(configv1.DevPreviewNoUpgrade).
mustRegister()
)
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@
{
"name": "RouteExternalCertificate"
},
{
"name": "SELinuxChangePolicy"
},
{
"name": "SELinuxMount"
},
{
"name": "ServiceAccountTokenNodeBinding"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@
{
"name": "RouteExternalCertificate"
},
{
"name": "SELinuxChangePolicy"
},
{
"name": "SELinuxMount"
},
{
"name": "ServiceAccountTokenNodeBinding"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
},
{
"name": "NewOLMCatalogdAPIV1Metas"
},
{
"name": "SELinuxChangePolicy"
},
{
"name": "SELinuxMount"
}
],
"enabled": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@
{
"name": "RouteExternalCertificate"
},
{
"name": "SELinuxChangePolicy"
},
{
"name": "SELinuxMount"
},
{
"name": "ServiceAccountTokenNodeBinding"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@
{
"name": "RouteExternalCertificate"
},
{
"name": "SELinuxChangePolicy"
},
{
"name": "SELinuxMount"
},
{
"name": "ServiceAccountTokenNodeBinding"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
},
{
"name": "MultiArchInstallAzure"
},
{
"name": "SELinuxChangePolicy"
},
{
"name": "SELinuxMount"
}
],
"enabled": [
Expand Down

0 comments on commit fb62fe9

Please sign in to comment.