Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions features.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@
| InsightsConfig| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| InsightsOnDemandDataGather| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| KMSv1| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| MachineConfigNodes| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| ManagedBootImagesCPMS| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| MetricsCollectionProfiles| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| MutableCSINodeAllocatableCount| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| 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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| PinnedImages| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| RouteExternalCertificate| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| ServiceAccountTokenNodeBinding| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| SigstoreImageVerification| <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> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
Expand Down
42 changes: 13 additions & 29 deletions features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,6 @@ var (
enable(inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
mustRegister()

FeatureGateMachineConfigNodes = newFeatureGate("MachineConfigNodes").
reportProblemsToJiraComponent("MachineConfigOperator").
contactPerson("ijanssen").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1765").
enable(inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
mustRegister()

FeatureGateImageModeStatusReporting = newFeatureGate("ImageModeStatusReporting").
reportProblemsToJiraComponent("MachineConfigOperator").
contactPerson("ijanssen").
Expand Down Expand Up @@ -344,14 +336,6 @@ var (
enable(inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
mustRegister()

FeatureGatePinnedImages = newFeatureGate("PinnedImages").
reportProblemsToJiraComponent("MachineConfigOperator").
contactPerson("RishabhSaini").
productScope(ocpSpecific).
enhancementPR(legacyFeatureGateWithoutEnhancement).
enable(inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
mustRegister()

FeatureGateAdditionalStorageConfig = newFeatureGate("AdditionalStorageConfig").
reportProblemsToJiraComponent("node").
contactPerson("saschagrunert").
Expand Down Expand Up @@ -722,12 +706,12 @@ var (
mustRegister()

FeatureGateClusterUpdatePreflight = newFeatureGate("ClusterUpdatePreflight").
reportProblemsToJiraComponent("Cluster Version Operator").
contactPerson("fao89").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1930").
enable(inDevPreviewNoUpgrade()).
mustRegister()
reportProblemsToJiraComponent("Cluster Version Operator").
contactPerson("fao89").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1930").
enable(inDevPreviewNoUpgrade()).
mustRegister()

FeatureGateGCPCustomAPIEndpoints = newFeatureGate("GCPCustomAPIEndpoints").
reportProblemsToJiraComponent("Installer").
Expand Down Expand Up @@ -817,13 +801,13 @@ var (
mustRegister()

FeatureGateAWSServiceLBNetworkSecurityGroup = newFeatureGate("AWSServiceLBNetworkSecurityGroup").
reportProblemsToJiraComponent("Cloud Compute / Cloud Controller Manager").
contactPerson("mtulio").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1802").
enable(inClusterProfile(SelfManaged), inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
enable(inClusterProfile(Hypershift), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
mustRegister()
reportProblemsToJiraComponent("Cloud Compute / Cloud Controller Manager").
contactPerson("mtulio").
productScope(ocpSpecific).
enhancementPR("https://github.com/openshift/enhancements/pull/1802").
enable(inClusterProfile(SelfManaged), inDefault(), inOKD(), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
enable(inClusterProfile(Hypershift), inTechPreviewNoUpgrade(), inDevPreviewNoUpgrade()).
mustRegister()

FeatureGateImageVolume = newFeatureGate("ImageVolume").
reportProblemsToJiraComponent("Node").
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if w
name: "[TechPreview] IrreconcilableMachineConfig"
crdName: machineconfignodes.machineconfiguration.openshift.io
featureGates:
- MachineConfigNodes
- IrreconcilableMachineConfig
tests:
onUpdate:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
name: "[TechPreview] MachineConfigNode"
crdName: machineconfignodes.machineconfiguration.openshift.io
featureGates:
- MachineConfigNodes
tests:
onCreate:
- name: Should be able to create a minimal MachineConfigNode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if w
name: "[TechPreview] InternalReleaseImage"
crdName: machineconfignodes.machineconfiguration.openshift.io
featureGates:
- MachineConfigNodes
- NoRegistryClusterInstall
tests:
onUpdate:
Expand Down Expand Up @@ -84,4 +83,4 @@ tests:
status: "False"
reason: "Degraded"
message: ""
lastTransitionTime: "2024-12-01T08:04:21Z"
lastTransitionTime: "2024-12-01T08:04:21Z"
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
name: "[TechPreview] MachineConfigPool"
crdName: machineconfigpools.machineconfiguration.openshift.io
featureGates:
- PinnedImages
tests:
onCreate:
- name: Should be able to create a minimal MachineConfigPool
Expand Down Expand Up @@ -169,4 +167,4 @@ tests:
readyMachineCount: 3
availableMachineCount: 3
unavailableMachineCount: 0
observedGeneration: 0
observedGeneration: 0
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
name: "PinnedImageSet"
crdName: pinnedimagesets.machineconfiguration.openshift.io
featureGate: PinnedImages
tests:
onCreate:
- name: Should be able to create a minimal PinnedImageSet
Expand Down
5 changes: 0 additions & 5 deletions machineconfiguration/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ type MachineConfigPoolSpec struct {
// Resolving these failures is the responsibility of the user. The admin
// should be proactive in ensuring adequate storage and proper image
// authentication exists in advance.
// +openshift:enable:FeatureGate=PinnedImages
// +optional
// +listType=map
// +listMapKey=name
Expand Down Expand Up @@ -489,7 +488,6 @@ type PinnedImageSetRef struct {
// consists of alphanumeric characters and hyphens (-), must begin and end
// with an alphanumeric character, and is at most 63 characters in length.
// The total length of the name must not exceed 253 characters.
// +openshift:enable:FeatureGate=PinnedImages
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=`^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])(\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9]))*$`
Expand Down Expand Up @@ -540,7 +538,6 @@ type MachineConfigPoolStatus struct {
CertExpirys []CertExpiry `json:"certExpirys"`

// poolSynchronizersStatus is the status of the machines managed by the pool synchronizers.
// +openshift:enable:FeatureGate=PinnedImages
// +listType=map
// +listMapKey=poolSynchronizerType
// +optional
Expand Down Expand Up @@ -676,11 +673,9 @@ const (
MachineConfigPoolImageBuildDegraded MachineConfigPoolConditionType = "ImageBuildDegraded"

// MachineConfigPoolPinnedImageSetsDegraded means the pinned image sets for the pool cannot be populated because of an error
// +openshift:enable:FeatureGate=PinnedImages
MachineConfigPoolPinnedImageSetsDegraded MachineConfigPoolConditionType = "PinnedImageSetsDegraded"

// MachineConfigPoolSynchronizerDegraded means the pool synchronizer can not be updated because of an error
// +openshift:enable:FeatureGate=PinnedImages
MachineConfigPoolSynchronizerDegraded MachineConfigPoolConditionType = "PoolSynchronizerDegraded"

// MachineConfigPoolDegraded is the overall status of the pool based, today, on whether we fail with NodeDegraded, RenderDegraded, or ImageBuildDegraded
Expand Down
1 change: 0 additions & 1 deletion machineconfiguration/v1/types_machineconfignode.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
// +kubebuilder:subresource:status
// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2255
// +openshift:file-pattern=cvoRunLevel=0000_80,operatorName=machine-config,operatorOrdering=01
// +openshift:enable:FeatureGate=MachineConfigNodes
// +kubebuilder:printcolumn:name="PoolName",type="string",JSONPath=.spec.pool.name,priority=0
// +kubebuilder:printcolumn:name="DesiredConfig",type="string",JSONPath=.spec.configVersion.desired,priority=0
// +kubebuilder:printcolumn:name="CurrentConfig",type="string",JSONPath=.status.configVersion.current,priority=0
Expand Down
3 changes: 1 addition & 2 deletions machineconfiguration/v1/types_pinnedimageset.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
// +kubebuilder:resource:path=pinnedimagesets,scope=Cluster
// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2198
// +openshift:file-pattern=cvoRunLevel=0000_80,operatorName=machine-config,operatorOrdering=01
// +openshift:enable:FeatureGate=PinnedImages
// +kubebuilder:metadata:labels=openshift.io/operator-managed=

// PinnedImageSet describes a set of images that should be pinned by CRI-O and
Expand All @@ -21,7 +20,7 @@ import (
// +openshift:compatibility-gen:level=1
type PinnedImageSet struct {
metav1.TypeMeta `json:",inline"`

// metadata is the standard object metadata.
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ machineconfignodes.machineconfiguration.openshift.io:
FeatureGates:
- ImageModeStatusReporting
- IrreconcilableMachineConfig
- MachineConfigNodes
- NoRegistryClusterInstall
FilenameOperatorName: machine-config
FilenameOperatorOrdering: "01"
Expand Down Expand Up @@ -192,8 +191,7 @@ machineconfignodes.machineconfiguration.openshift.io:
type: string
Scope: Cluster
ShortNames: null
TopLevelFeatureGates:
- MachineConfigNodes
TopLevelFeatureGates: []
Version: v1

machineconfigpools.machineconfiguration.openshift.io:
Expand All @@ -204,7 +202,6 @@ machineconfigpools.machineconfiguration.openshift.io:
Category: ""
FeatureGates:
- OSStreams
- PinnedImages
FilenameOperatorName: machine-config
FilenameOperatorOrdering: "01"
FilenameRunLevel: "0000_80"
Expand Down Expand Up @@ -327,8 +324,7 @@ pinnedimagesets.machineconfiguration.openshift.io:
CRDName: pinnedimagesets.machineconfiguration.openshift.io
Capability: ""
Category: ""
FeatureGates:
- PinnedImages
FeatureGates: []
FilenameOperatorName: machine-config
FilenameOperatorOrdering: "01"
FilenameRunLevel: "0000_80"
Expand All @@ -341,7 +337,6 @@ pinnedimagesets.machineconfiguration.openshift.io:
PrinterColumns: []
Scope: Cluster
ShortNames: null
TopLevelFeatureGates:
- PinnedImages
TopLevelFeatureGates: []
Version: v1

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
api.openshift.io/filename-cvo-runlevel: "0000_80"
api.openshift.io/filename-operator: machine-config
api.openshift.io/filename-ordering: "01"
feature-gate.release.openshift.io/MachineConfigNodes: "true"
feature-gate.release.openshift.io/: "true"
labels:
openshift.io/operator-managed: ""
name: machineconfignodes.machineconfiguration.openshift.io
Expand Down
Loading