Skip to content

Commit 3663a85

Browse files
Merge pull request openshift#2395 from rhrmo/OCPBUGS-55674
OCPBUGS-55674: remove AWSEFSDriverVolumeMetrics featuregate
2 parents 72b5a9b + e76f305 commit 3663a85

14 files changed

+88
-499
lines changed

features.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
| VolumeAttributesClass| | | <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> |
6767
| VolumeGroupSnapshot| | | <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> |
6868
| ExternalOIDC| <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> |
69-
| AWSEFSDriverVolumeMetrics| <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> |
7069
| AdditionalRoutingCapabilities| <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> |
7170
| AdminNetworkPolicy| <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> |
7271
| AlibabaPlatform| <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
@@ -626,14 +626,6 @@ var (
626626
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
627627
mustRegister()
628628

629-
FeatureGateAWSEFSDriverVolumeMetrics = newFeatureGate("AWSEFSDriverVolumeMetrics").
630-
reportProblemsToJiraComponent("Storage / Kubernetes External Components").
631-
contactPerson("fbertina").
632-
productScope(ocpSpecific).
633-
enhancementPR(legacyFeatureGateWithoutEnhancement).
634-
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
635-
mustRegister()
636-
637629
FeatureGateImageStreamImportMode = newFeatureGate("ImageStreamImportMode").
638630
reportProblemsToJiraComponent("Multi-Arch").
639631
contactPerson("psundara").

operator/v1/tests/clustercsidrivers.operator.openshift.io/AWSEFSDriverVolumeMetrics.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-
- AWSEFSDriverVolumeMetrics
64
tests:
75
onCreate:
86
- name: Should be able to create a minimal ClusterCSIDriver

operator/v1/types_csi_cluster_driver.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ type AWSCSIDriverConfigSpec struct {
169169
KMSKeyARN string `json:"kmsKeyARN,omitempty"`
170170

171171
// efsVolumeMetrics sets the configuration for collecting metrics from EFS volumes used by the EFS CSI Driver.
172-
// +openshift:enable:FeatureGate=AWSEFSDriverVolumeMetrics
173172
// +optional
174173
EFSVolumeMetrics *AWSEFSVolumeMetrics `json:"efsVolumeMetrics,omitempty"`
175174
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ clustercsidrivers.operator.openshift.io:
6969
Capability: ""
7070
Category: ""
7171
FeatureGates:
72-
- AWSEFSDriverVolumeMetrics
7372
- VSphereConfigurableMaxAllowedBlockVolumesPerNode
7473
FilenameOperatorName: csi-driver
7574
FilenameOperatorOrdering: "01"

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,50 @@ spec:
5656
aws:
5757
description: aws is used to configure the AWS CSI driver.
5858
properties:
59+
efsVolumeMetrics:
60+
description: efsVolumeMetrics sets the configuration for collecting
61+
metrics from EFS volumes used by the EFS CSI Driver.
62+
properties:
63+
recursiveWalk:
64+
description: |-
65+
recursiveWalk provides additional configuration for collecting volume metrics in the AWS EFS CSI Driver
66+
when the state is set to RecursiveWalk.
67+
properties:
68+
fsRateLimit:
69+
description: |-
70+
fsRateLimit defines the rate limit, in goroutines per file system, for processing volume metrics.
71+
When omitted, this means no opinion and the platform is left to choose a reasonable
72+
default, which is subject to change over time. The current default is 5.
73+
The valid range is from 1 to 100 goroutines.
74+
format: int32
75+
maximum: 100
76+
minimum: 1
77+
type: integer
78+
refreshPeriodMinutes:
79+
description: |-
80+
refreshPeriodMinutes specifies the frequency, in minutes, at which volume metrics are refreshed.
81+
When omitted, this means no opinion and the platform is left to choose a reasonable
82+
default, which is subject to change over time. The current default is 240.
83+
The valid range is from 1 to 43200 minutes (30 days).
84+
format: int32
85+
maximum: 43200
86+
minimum: 1
87+
type: integer
88+
type: object
89+
state:
90+
description: |-
91+
state defines the state of metric collection in the AWS EFS CSI Driver.
92+
This field is required and must be set to one of the following values: Disabled or RecursiveWalk.
93+
Disabled means no metrics collection will be performed. This is the default value.
94+
RecursiveWalk means the AWS EFS CSI Driver will recursively scan volumes to collect metrics.
95+
This process may result in high CPU and memory usage, depending on the volume size.
96+
enum:
97+
- RecursiveWalk
98+
- Disabled
99+
type: string
100+
required:
101+
- state
102+
type: object
59103
kmsKeyARN:
60104
description: |-
61105
kmsKeyARN sets the cluster default storage class to encrypt volumes with a user-defined KMS key,

0 commit comments

Comments
 (0)