Skip to content

Commit 419ebe1

Browse files
committed
Remove featuregate ChunkSizeMib
1 parent 9f36190 commit 419ebe1

15 files changed

+2
-2461
lines changed

features.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
| AzureWorkloadIdentity| <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> |
8080
| BuildCSIVolumes| <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> |
8181
| CPMSMachineNamePrefix| <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> |
82-
| ChunkSizeMiB| <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> |
8382
| ConsolePluginContentSecurityPolicy| <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> |
8483
| GatewayAPI| <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> |
8584
| GatewayAPIController| <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
@@ -578,14 +578,6 @@ var (
578578
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
579579
mustRegister()
580580

581-
FeatureGateChunkSizeMiB = newFeatureGate("ChunkSizeMiB").
582-
reportProblemsToJiraComponent("Image Registry").
583-
contactPerson("flavianmissi").
584-
productScope(ocpSpecific).
585-
enhancementPR(legacyFeatureGateWithoutEnhancement).
586-
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
587-
mustRegister()
588-
589581
FeatureGateMachineAPIMigration = newFeatureGate("MachineAPIMigration").
590582
reportProblemsToJiraComponent("OCPCLOUD").
591583
contactPerson("jspeed").

features/legacyfeaturegates.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ var legacyFeatureGates = sets.New(
2121
// never add to this list, if you think you have an exception ask @deads2k
2222
"BuildCSIVolumes",
2323
// never add to this list, if you think you have an exception ask @deads2k
24-
"ChunkSizeMiB",
25-
// never add to this list, if you think you have an exception ask @deads2k
2624
"ClusterAPIInstall",
2725
// never add to this list, if you think you have an exception ask @deads2k
2826
"ClusterAPIInstallIBMCloud",

imageregistry/v1/types.go

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,7 @@ type ImageRegistryConfigStorageS3 struct {
207207
// Optional, defaults based on the Region that is provided.
208208
// +optional
209209
RegionEndpoint string `json:"regionEndpoint,omitempty"`
210-
// chunkSizeMiB defines the size of the multipart upload chunks of the S3 API.
211-
// The S3 API requires multipart upload chunks to be at least 5MiB.
212-
// When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
213-
// The current default value is 10 MiB.
214-
// The value is an integer number of MiB.
215-
// The minimum value is 5 and the maximum value is 5120 (5 GiB).
216-
// +kubebuilder:validation:Minimum=5
217-
// +kubebuilder:validation:Maximum=5120
218-
// +openshift:enable:FeatureGate=ChunkSizeMiB
219-
// +optional
220-
ChunkSizeMiB int32 `json:"chunkSizeMiB,omitempty"`
210+
221211
// encrypt specifies whether the registry stores the image in encrypted
222212
// format or not.
223213
// Optional, defaults to false.

imageregistry/v1/zz_generated.crd-manifests/00_configs.crd.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,18 +1484,6 @@ spec:
14841484
data.
14851485
Optional, will be generated if not provided.
14861486
type: string
1487-
chunkSizeMiB:
1488-
description: |-
1489-
chunkSizeMiB defines the size of the multipart upload chunks of the S3 API.
1490-
The S3 API requires multipart upload chunks to be at least 5MiB.
1491-
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
1492-
The current default value is 10 MiB.
1493-
The value is an integer number of MiB.
1494-
The minimum value is 5 and the maximum value is 5120 (5 GiB).
1495-
format: int32
1496-
maximum: 5120
1497-
minimum: 5
1498-
type: integer
14991487
cloudFront:
15001488
description: |-
15011489
cloudFront configures Amazon Cloudfront as the storage middleware in a
@@ -2240,18 +2228,6 @@ spec:
22402228
data.
22412229
Optional, will be generated if not provided.
22422230
type: string
2243-
chunkSizeMiB:
2244-
description: |-
2245-
chunkSizeMiB defines the size of the multipart upload chunks of the S3 API.
2246-
The S3 API requires multipart upload chunks to be at least 5MiB.
2247-
When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
2248-
The current default value is 10 MiB.
2249-
The value is an integer number of MiB.
2250-
The minimum value is 5 and the maximum value is 5120 (5 GiB).
2251-
format: int32
2252-
maximum: 5120
2253-
minimum: 5
2254-
type: integer
22552231
cloudFront:
22562232
description: |-
22572233
cloudFront configures Amazon Cloudfront as the storage middleware in a

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ configs.imageregistry.operator.openshift.io:
44
CRDName: configs.imageregistry.operator.openshift.io
55
Capability: ""
66
Category: ""
7-
FeatureGates:
8-
- ChunkSizeMiB
7+
FeatureGates: []
98
FilenameOperatorName: ""
109
FilenameOperatorOrdering: "00"
1110
FilenameRunLevel: ""

0 commit comments

Comments
 (0)