Skip to content

Commit 6507508

Browse files
committed
remove VSphereDriverConfiguration feature gate
1 parent 6a97aca commit 6507508

15 files changed

+88
-458
lines changed

features.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,4 @@
9595
| SetEIPForNLBIngressController| <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> |
9696
| UserNamespacesPodSecurityStandards| <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> |
9797
| UserNamespacesSupport| <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> |
98-
| VSphereDriverConfiguration| <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> |
9998
| ValidatingAdmissionPolicy| <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: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -555,14 +555,6 @@ var (
555555
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
556556
mustRegister()
557557

558-
FeatureGateVSphereDriverConfiguration = newFeatureGate("VSphereDriverConfiguration").
559-
reportProblemsToJiraComponent("Storage / Kubernetes External Components").
560-
contactPerson("rbednar").
561-
productScope(ocpSpecific).
562-
enhancementPR(legacyFeatureGateWithoutEnhancement).
563-
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
564-
mustRegister()
565-
566558
FeatureGateClusterAPIInstallIBMCloud = newFeatureGate("ClusterAPIInstallIBMCloud").
567559
reportProblemsToJiraComponent("Installer").
568560
contactPerson("cjschaef").
@@ -814,7 +806,7 @@ var (
814806
enhancementPR("https://github.com/openshift/enhancements/pull/1779").
815807
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
816808
mustRegister()
817-
809+
818810
FeatureGateAWSDedicatedHosts = newFeatureGate("AWSDedicatedHosts").
819811
reportProblemsToJiraComponent("Installer").
820812
contactPerson("faermanj").

operator/v1/tests/clustercsidrivers.operator.openshift.io/VSphereDriverConfiguration.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: "ClusterCSIDriver"
33
crdName: clustercsidrivers.operator.openshift.io
4-
featureGates:
5-
- VSphereDriverConfiguration
64
tests:
75
onCreate:
86
- name: Should be able to create ClusterCSIDriver with snapshot options

operator/v1/types_csi_cluster_driver.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ type VSphereCSIDriverConfigSpec struct {
348348
// Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
349349
// +kubebuilder:validation:Minimum=1
350350
// +kubebuilder:validation:Maximum=32
351-
// +openshift:enable:FeatureGate=VSphereDriverConfiguration
352351
// +optional
353352
GlobalMaxSnapshotsPerBlockVolume *uint32 `json:"globalMaxSnapshotsPerBlockVolume,omitempty"`
354353

@@ -357,7 +356,6 @@ type VSphereCSIDriverConfigSpec struct {
357356
// Snapshots for VSAN can not be disabled using this parameter.
358357
// +kubebuilder:validation:Minimum=1
359358
// +kubebuilder:validation:Maximum=32
360-
// +openshift:enable:FeatureGate=VSphereDriverConfiguration
361359
// +optional
362360
GranularMaxSnapshotsPerBlockVolumeInVSAN *uint32 `json:"granularMaxSnapshotsPerBlockVolumeInVSAN,omitempty"`
363361

@@ -366,7 +364,6 @@ type VSphereCSIDriverConfigSpec struct {
366364
// Snapshots for VVOL can not be disabled using this parameter.
367365
// +kubebuilder:validation:Minimum=1
368366
// +kubebuilder:validation:Maximum=32
369-
// +openshift:enable:FeatureGate=VSphereDriverConfiguration
370367
// +optional
371368
GranularMaxSnapshotsPerBlockVolumeInVVOL *uint32 `json:"granularMaxSnapshotsPerBlockVolumeInVVOL,omitempty"`
372369

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ clustercsidrivers.operator.openshift.io:
7171
FeatureGates:
7272
- AWSEFSDriverVolumeMetrics
7373
- VSphereConfigurableMaxAllowedBlockVolumesPerNode
74-
- VSphereDriverConfiguration
7574
FilenameOperatorName: csi-driver
7675
FilenameOperatorOrdering: "01"
7776
FilenameRunLevel: "0000_50"

operator/v1/zz_generated.featuregated-crd-manifests/clustercsidrivers.operator.openshift.io/AAA_ungated.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,35 @@ spec:
191191
vSphere:
192192
description: vSphere is used to configure the vsphere CSI driver.
193193
properties:
194+
globalMaxSnapshotsPerBlockVolume:
195+
description: |-
196+
globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of
197+
datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3.
198+
Snapshots can not be disabled using this parameter.
199+
Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279
200+
Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
201+
format: int32
202+
maximum: 32
203+
minimum: 1
204+
type: integer
205+
granularMaxSnapshotsPerBlockVolumeInVSAN:
206+
description: |-
207+
granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It
208+
overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
209+
Snapshots for VSAN can not be disabled using this parameter.
210+
format: int32
211+
maximum: 32
212+
minimum: 1
213+
type: integer
214+
granularMaxSnapshotsPerBlockVolumeInVVOL:
215+
description: |-
216+
granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only.
217+
It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
218+
Snapshots for VVOL can not be disabled using this parameter.
219+
format: int32
220+
maximum: 32
221+
minimum: 1
222+
type: integer
194223
topologyCategories:
195224
description: |-
196225
topologyCategories indicates tag categories with which

operator/v1/zz_generated.featuregated-crd-manifests/clustercsidrivers.operator.openshift.io/AWSEFSDriverVolumeMetrics.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,35 @@ spec:
235235
vSphere:
236236
description: vSphere is used to configure the vsphere CSI driver.
237237
properties:
238+
globalMaxSnapshotsPerBlockVolume:
239+
description: |-
240+
globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of
241+
datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3.
242+
Snapshots can not be disabled using this parameter.
243+
Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279
244+
Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
245+
format: int32
246+
maximum: 32
247+
minimum: 1
248+
type: integer
249+
granularMaxSnapshotsPerBlockVolumeInVSAN:
250+
description: |-
251+
granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It
252+
overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
253+
Snapshots for VSAN can not be disabled using this parameter.
254+
format: int32
255+
maximum: 32
256+
minimum: 1
257+
type: integer
258+
granularMaxSnapshotsPerBlockVolumeInVVOL:
259+
description: |-
260+
granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only.
261+
It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
262+
Snapshots for VVOL can not be disabled using this parameter.
263+
format: int32
264+
maximum: 32
265+
minimum: 1
266+
type: integer
238267
topologyCategories:
239268
description: |-
240269
topologyCategories indicates tag categories with which

operator/v1/zz_generated.featuregated-crd-manifests/clustercsidrivers.operator.openshift.io/VSphereConfigurableMaxAllowedBlockVolumesPerNode.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,35 @@ spec:
191191
vSphere:
192192
description: vSphere is used to configure the vsphere CSI driver.
193193
properties:
194+
globalMaxSnapshotsPerBlockVolume:
195+
description: |-
196+
globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of
197+
datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3.
198+
Snapshots can not be disabled using this parameter.
199+
Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279
200+
Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
201+
format: int32
202+
maximum: 32
203+
minimum: 1
204+
type: integer
205+
granularMaxSnapshotsPerBlockVolumeInVSAN:
206+
description: |-
207+
granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It
208+
overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
209+
Snapshots for VSAN can not be disabled using this parameter.
210+
format: int32
211+
maximum: 32
212+
minimum: 1
213+
type: integer
214+
granularMaxSnapshotsPerBlockVolumeInVVOL:
215+
description: |-
216+
granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only.
217+
It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
218+
Snapshots for VVOL can not be disabled using this parameter.
219+
format: int32
220+
maximum: 32
221+
minimum: 1
222+
type: integer
194223
maxAllowedBlockVolumesPerNode:
195224
description: |-
196225
maxAllowedBlockVolumesPerNode is an optional configuration parameter that allows setting a custom value for the

0 commit comments

Comments
 (0)