Skip to content

Commit ab8362b

Browse files
committed
Promote CPMSMachineNamePrefix feature gate to default feature set
Signed-off-by: chiragkyal <[email protected]>
1 parent 4521905 commit ab8362b

6 files changed

+54
-8
lines changed

Diff for: features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
| AWSClusterHostedDNS| | | <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> |
1818
| AutomatedEtcdBackup| | | <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> |
1919
| BootcNodeManagement| | | <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> |
20-
| 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> |
2120
| ClusterMonitoringConfig| | | <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> |
2221
| 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> |
2322
| DNSNameResolver| | | <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> |
@@ -74,6 +73,7 @@
7473
| 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> |
7574
| BareMetalLoadBalancer| <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> |
7675
| 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> |
76+
| 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> |
7777
| 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> |
7878
| CloudDualStackNodeIPs| <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> |
7979
| DisableKubeletCloudCredentialProviders| <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> |

Diff for: features/features.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ var (
248248
contactPerson("chiragkyal").
249249
productScope(ocpSpecific).
250250
enhancementPR("https://github.com/openshift/enhancements/pull/1714").
251-
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
251+
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
252252
mustRegister()
253253

254254
FeatureGateAdminNetworkPolicy = newFeatureGate("AdminNetworkPolicy").

Diff for: machine/v1/zz_generated.crd-manifests/0000_10_control-plane-machine-set_01_controlplanemachinesets-Default.crd.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,29 @@ spec:
7575
description: ControlPlaneMachineSet represents the configuration of the
7676
ControlPlaneMachineSet.
7777
properties:
78+
machineNamePrefix:
79+
description: |-
80+
machineNamePrefix is the prefix used when creating machine names.
81+
Each machine name will consist of this prefix, followed by
82+
a randomly generated string of 5 characters, and the index of the machine.
83+
It must be a lowercase RFC 1123 subdomain, consisting of lowercase
84+
alphanumeric characters, hyphens ('-'), and periods ('.').
85+
Each block, separated by periods, must start and end with an alphanumeric character.
86+
Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted.
87+
The prefix must be between 1 and 245 characters in length.
88+
For example, if machineNamePrefix is set to 'control-plane',
89+
and three machines are created, their names might be:
90+
control-plane-abcde-0, control-plane-fghij-1, control-plane-klmno-2
91+
maxLength: 245
92+
minLength: 1
93+
type: string
94+
x-kubernetes-validations:
95+
- message: a lowercase RFC 1123 subdomain must consist of lowercase
96+
alphanumeric characters, hyphens ('-'), and periods ('.'). Each
97+
block, separated by periods, must start and end with an alphanumeric
98+
character. Hyphens are not allowed at the start or end of a block,
99+
and consecutive periods are not permitted.
100+
rule: '!format.dns1123Subdomain().validate(self).hasValue()'
78101
replicas:
79102
default: 3
80103
description: |-

Diff for: payload-manifests/crds/0000_10_control-plane-machine-set_01_controlplanemachinesets-Default.crd.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,29 @@ spec:
7575
description: ControlPlaneMachineSet represents the configuration of the
7676
ControlPlaneMachineSet.
7777
properties:
78+
machineNamePrefix:
79+
description: |-
80+
machineNamePrefix is the prefix used when creating machine names.
81+
Each machine name will consist of this prefix, followed by
82+
a randomly generated string of 5 characters, and the index of the machine.
83+
It must be a lowercase RFC 1123 subdomain, consisting of lowercase
84+
alphanumeric characters, hyphens ('-'), and periods ('.').
85+
Each block, separated by periods, must start and end with an alphanumeric character.
86+
Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted.
87+
The prefix must be between 1 and 245 characters in length.
88+
For example, if machineNamePrefix is set to 'control-plane',
89+
and three machines are created, their names might be:
90+
control-plane-abcde-0, control-plane-fghij-1, control-plane-klmno-2
91+
maxLength: 245
92+
minLength: 1
93+
type: string
94+
x-kubernetes-validations:
95+
- message: a lowercase RFC 1123 subdomain must consist of lowercase
96+
alphanumeric characters, hyphens ('-'), and periods ('.'). Each
97+
block, separated by periods, must start and end with an alphanumeric
98+
character. Hyphens are not allowed at the start or end of a block,
99+
and consecutive periods are not permitted.
100+
rule: '!format.dns1123Subdomain().validate(self).hasValue()'
78101
replicas:
79102
default: 3
80103
description: |-

Diff for: payload-manifests/featuregates/featureGate-Hypershift-Default.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
{
2323
"name": "BootcNodeManagement"
2424
},
25-
{
26-
"name": "CPMSMachineNamePrefix"
27-
},
2825
{
2926
"name": "ClusterAPIInstall"
3027
},
@@ -234,6 +231,9 @@
234231
{
235232
"name": "BuildCSIVolumes"
236233
},
234+
{
235+
"name": "CPMSMachineNamePrefix"
236+
},
237237
{
238238
"name": "ChunkSizeMiB"
239239
},

Diff for: payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
{
2323
"name": "BootcNodeManagement"
2424
},
25-
{
26-
"name": "CPMSMachineNamePrefix"
27-
},
2825
{
2926
"name": "ClusterAPIInstall"
3027
},
@@ -234,6 +231,9 @@
234231
{
235232
"name": "BuildCSIVolumes"
236233
},
234+
{
235+
"name": "CPMSMachineNamePrefix"
236+
},
237237
{
238238
"name": "ChunkSizeMiB"
239239
},

0 commit comments

Comments
 (0)