Skip to content

Commit a09992e

Browse files
Merge pull request #2063 from vr4manta/SPLAT-1851
SPLAT-1851: Make VSphereMultiVCenters feature gate GA
2 parents 20cbb4d + 25cf429 commit a09992e

9 files changed

+12
-48
lines changed

config/v1/tests/infrastructures.config.openshift.io/AAA_ungated.yaml

-36
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: "Infrastructure"
33
crdName: infrastructures.config.openshift.io
4-
featureGates:
5-
- -VSphereMultiVCenters
64
tests:
75
onCreate:
86
- name: Should be able to create a minimal Infrastructure
@@ -184,40 +182,6 @@ tests:
184182
machineNetworks:
185183
- 192.0.2.1
186184
expectedError: "spec.platformSpec.baremetal.machineNetworks[0]: Invalid value: \"string\": value must be a valid CIDR network address"
187-
- name: Should not be able to pass more than 1 entries to vcenters in the vsphere platform spec
188-
initial: |
189-
apiVersion: config.openshift.io/v1
190-
kind: Infrastructure
191-
spec:
192-
platformSpec:
193-
type: VSphere
194-
vsphere:
195-
failureDomains:
196-
- name: generated-failure-domain
197-
region: generated-region
198-
server: server1.dev.cluster.com
199-
topology:
200-
computeCluster: /IBMCloud/host/vcs-8e-workload
201-
datacenter: IBMCloud
202-
datastore: /IBMCloud/datastore/mdcnc-ds-shared
203-
networks:
204-
- ocp-ci-seg-13
205-
resourcePool: /IBMCloud/host/vcs-8e-workload/Resources
206-
template: /IBMCloud/vm/ngirard-dev-rqh5s-rhcos-generated-region-generated-zone
207-
zone: generated-zone
208-
nodeNetworking:
209-
external: {}
210-
internal: {}
211-
vcenters:
212-
- datacenters:
213-
- IBMCloud
214-
port: 443
215-
server: server1.dev.cluster.com
216-
- datacenters:
217-
- IBMCloud2
218-
port: 443
219-
server: server2.dev.cluster.com
220-
expectedError: "Too many: 2: must have at most 1 items"
221185
onUpdate:
222186
- name: Should be able to change External platformName from unknown to something else
223187
initial: |

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_infrastructures-Default.crd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ spec:
920920
- datacenters
921921
- server
922922
type: object
923-
maxItems: 1
923+
maxItems: 3
924924
minItems: 0
925925
type: array
926926
x-kubernetes-list-type: atomic

features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
| 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> |
5252
| 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> |
5353
| VSphereMultiNetworks| | | <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> |
54-
| VSphereMultiVCenters| | | <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> |
5554
| 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> |
5655
| 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> |
5756
| 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> |
@@ -80,5 +79,6 @@
8079
| 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> |
8180
| VSphereControlPlaneMachineSet| <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> |
8281
| 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> |
82+
| VSphereMultiVCenters| <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> |
8383
| VSphereStaticIPs| <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> |
8484
| 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

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var (
208208
contactPerson("vr4manta").
209209
productScope(ocpSpecific).
210210
enhancementPR(legacyFeatureGateWithoutEnhancement).
211-
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
211+
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
212212
mustRegister()
213213

214214
FeatureGateVSphereStaticIPs = newFeatureGate("VSphereStaticIPs").

machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ spec:
11971197
- datacenters
11981198
- server
11991199
type: object
1200-
maxItems: 1
1200+
maxItems: 3
12011201
minItems: 0
12021202
type: array
12031203
x-kubernetes-list-type: atomic

payload-manifests/crds/0000_10_config-operator_01_infrastructures-Default.crd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ spec:
920920
- datacenters
921921
- server
922922
type: object
923-
maxItems: 1
923+
maxItems: 3
924924
minItems: 0
925925
type: array
926926
x-kubernetes-list-type: atomic

payload-manifests/crds/0000_80_machine-config_01_controllerconfigs-Default.crd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ spec:
11971197
- datacenters
11981198
- server
11991199
type: object
1200-
maxItems: 1
1200+
maxItems: 3
12011201
minItems: 0
12021202
type: array
12031203
x-kubernetes-list-type: atomic

payload-manifests/featuregates/featureGate-Hypershift-Default.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@
166166
{
167167
"name": "VSphereMultiNetworks"
168168
},
169-
{
170-
"name": "VSphereMultiVCenters"
171-
},
172169
{
173170
"name": "VolumeAttributesClass"
174171
},
@@ -255,6 +252,9 @@
255252
{
256253
"name": "VSphereDriverConfiguration"
257254
},
255+
{
256+
"name": "VSphereMultiVCenters"
257+
},
258258
{
259259
"name": "VSphereStaticIPs"
260260
},

payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@
166166
{
167167
"name": "VSphereMultiNetworks"
168168
},
169-
{
170-
"name": "VSphereMultiVCenters"
171-
},
172169
{
173170
"name": "VolumeAttributesClass"
174171
},
@@ -255,6 +252,9 @@
255252
{
256253
"name": "VSphereDriverConfiguration"
257254
},
255+
{
256+
"name": "VSphereMultiVCenters"
257+
},
258258
{
259259
"name": "VSphereStaticIPs"
260260
},

0 commit comments

Comments
 (0)