Skip to content

Commit

Permalink
changes from rebase and vr4manta commits
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpowermac committed Aug 28, 2024
1 parent 4594e38 commit 1938c1c
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,11 @@ spec:
vcenters:
description: vcenters holds the connection details for services
to communicate with vCenter. Currently, only a single vCenter
is supported. ---
is supported, but in tech preview 3 vCenters are supported.
Once the cluster has been installed, you are unable to change
the current number of defined vCenters except in the case
where the cluster has been upgraded from a version of OpenShift
where the vsphere platform spec was not present. ---
items:
description: VSpherePlatformVCenterSpec stores the vCenter
connection fields. This is used by the vSphere CCM.
Expand Down Expand Up @@ -906,13 +910,25 @@ spec:
minItems: 0
type: array
x-kubernetes-list-type: atomic
x-kubernetes-validations:
- message: vcenters cannot be added or removed once set
rule: 'size(self) != size(oldSelf) ? size(oldSelf) == 0
&& size(self) < 2 : true'
type: object
x-kubernetes-validations:
- message: apiServerInternalIPs list is required once set
rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)'
- message: ingressIPs list is required once set
rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)'
- message: vcenters count can only be one when performing day
2 config
rule: '!has(oldSelf.vcenters) && has(self.vcenters) ? size(self.vcenters)
< 2 : true'
type: object
x-kubernetes-validations:
- message: vsphere can only have 1 vCenter when performing day 2 config
rule: '!has(oldSelf.vsphere) && has(self.vsphere) ? size(self.vsphere.vcenters)
< 2 : true'
type: object
status:
description: status holds observed values from the cluster. They may not
Expand Down
1 change: 1 addition & 0 deletions features.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
| UpgradeStatus| | | <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> |
| 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> |
| 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> |
| VSphereHostVMGroupZonal| | | <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> |
| 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> |
| 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> |
| 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> |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,13 @@ spec:
vcenters:
description: vcenters holds the connection details
for services to communicate with vCenter. Currently,
only a single vCenter is supported. ---
only a single vCenter is supported, but in tech
preview 3 vCenters are supported. Once the cluster
has been installed, you are unable to change the
current number of defined vCenters except in the
case where the cluster has been upgraded from a
version of OpenShift where the vsphere platform
spec was not present. ---
items:
description: VSpherePlatformVCenterSpec stores the
vCenter connection fields. This is used by the
Expand Down Expand Up @@ -1210,14 +1216,28 @@ spec:
minItems: 0
type: array
x-kubernetes-list-type: atomic
x-kubernetes-validations:
- message: vcenters cannot be added or removed once
set
rule: 'size(self) != size(oldSelf) ? size(oldSelf)
== 0 && size(self) < 2 : true'
type: object
x-kubernetes-validations:
- message: apiServerInternalIPs list is required once
set
rule: '!has(oldSelf.apiServerInternalIPs) || has(self.apiServerInternalIPs)'
- message: ingressIPs list is required once set
rule: '!has(oldSelf.ingressIPs) || has(self.ingressIPs)'
- message: vcenters count can only be one when performing
day 2 config
rule: '!has(oldSelf.vcenters) && has(self.vcenters)
? size(self.vcenters) < 2 : true'
type: object
x-kubernetes-validations:
- message: vsphere can only have 1 vCenter when performing
day 2 config
rule: '!has(oldSelf.vsphere) && has(self.vsphere) ? size(self.vsphere.vcenters)
< 2 : true'
type: object
status:
description: status holds observed values from the cluster. They
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@
{
"name": "UserNamespacesSupport"
},
{
"name": "VSphereHostVMGroupZonal"
},
{
"name": "VSphereMultiVCenters"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
{
"name": "UserNamespacesSupport"
},
{
"name": "VSphereHostVMGroupZonal"
},
{
"name": "VSphereMultiVCenters"
},
Expand Down

0 comments on commit 1938c1c

Please sign in to comment.