Skip to content

Commit 29b8316

Browse files
Merge pull request openshift#2359 from djoshy/remove-node-disruption
OCPBUGS-55663: Remove NodeDisruptionPolicy featuregate
2 parents 24766a2 + 2d9ca3e commit 29b8316

15 files changed

+1600
-1030
lines changed

features.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
| NetworkDiagnosticsConfig| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
8787
| NetworkLiveMigration| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
8888
| NetworkSegmentation| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
89-
| NodeDisruptionPolicy| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
9089
| OnClusterBuild| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
9190
| OpenShiftPodSecurityAdmission| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
9291
| PersistentIPsForVirtualization| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |

features/features.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -563,14 +563,6 @@ var (
563563
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
564564
mustRegister()
565565

566-
FeatureGateNodeDisruptionPolicy = newFeatureGate("NodeDisruptionPolicy").
567-
reportProblemsToJiraComponent("MachineConfigOperator").
568-
contactPerson("jerzhang").
569-
productScope(ocpSpecific).
570-
enhancementPR(legacyFeatureGateWithoutEnhancement).
571-
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
572-
mustRegister()
573-
574566
FeatureGateMetricsCollectionProfiles = newFeatureGate("MetricsCollectionProfiles").
575567
reportProblemsToJiraComponent("Monitoring").
576568
contactPerson("rexagod").

features/legacyfeaturegates.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ var legacyFeatureGates = sets.New(
9191
// never add to this list, if you think you have an exception ask @deads2k
9292
"NewOLM",
9393
// never add to this list, if you think you have an exception ask @deads2k
94-
"NodeDisruptionPolicy",
95-
// never add to this list, if you think you have an exception ask @deads2k
9694
"OVNObservability",
9795
// never add to this list, if you think you have an exception ask @deads2k
9896
"OnClusterBuild",

operator/v1/tests/machineconfigurations.operator.openshift.io/NodeDisruptionPolicy.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
22
name: "MachineConfiguration"
33
crdName: machineconfigurations.operator.openshift.io
4-
featureGates:
5-
- NodeDisruptionPolicy
64
tests:
75
onCreate:
86
- name: Should be able to create a valid node disruption policy

operator/v1/types_machineconfiguration.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ type MachineConfigurationSpec struct {
5353
// MachineConfig-based updates, such as drains, service reloads, etc. Specifying this will allow
5454
// for less downtime when doing small configuration updates to the cluster. This configuration
5555
// has no effect on cluster upgrades which will still incur node disruption where required.
56-
// +openshift:enable:FeatureGate=NodeDisruptionPolicy
5756
// +optional
5857
NodeDisruptionPolicy NodeDisruptionPolicyConfig `json:"nodeDisruptionPolicy"`
5958
}
@@ -94,7 +93,6 @@ type MachineConfigurationStatus struct {
9493

9594
// nodeDisruptionPolicyStatus status reflects what the latest cluster-validated policies are,
9695
// and will be used by the Machine Config Daemon during future node updates.
97-
// +openshift:enable:FeatureGate=NodeDisruptionPolicy
9896
// +optional
9997
NodeDisruptionPolicyStatus NodeDisruptionPolicyStatus `json:"nodeDisruptionPolicyStatus"`
10098

operator/v1/zz_generated.featuregated-crd-manifests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ machineconfigurations.operator.openshift.io:
308308
Category: ""
309309
FeatureGates:
310310
- ManagedBootImages
311-
- NodeDisruptionPolicy
312311
FilenameOperatorName: machine-config
313312
FilenameOperatorOrdering: "01"
314313
FilenameRunLevel: "0000_80"

0 commit comments

Comments
 (0)