1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00

OSASINFRA-3153: move loadBalancer API to GA for OpenStack

This API has not moved and there is no plan to make any change that
would be backward incompatible in the future.

The feature was well tested (and automated) by our QE on this platform,
as well documented on OCP 4.13.

We think this API is ready to be GA'ed.
This commit is contained in:
Emilien Macchi
2023-04-24 15:34:11 -04:00
parent 85138dd3c4
commit 0321c41943
9 changed files with 1 additions and 123 deletions

View File

@@ -1,32 +0,0 @@
apiVersion: v1
baseDomain: shiftstack.example.com
controlPlane:
hyperthreading: Enabled
architecture: amd64
name: master
platform:
openstack:
type: ${COMPUTE_FLAVOR}
replicas: 3
compute:
- name: worker
platform:
openstack:
type: ${COMPUTE_FLAVOR}
replicas: 3
metadata:
name: manifests1
networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
machineNetwork:
- cidr: 10.0.128.0/17
networkType: OVNKubernetes
serviceNetwork:
- 172.30.0.0/16
platform:
openstack:
cloud: ${OS_CLOUD}
featureSet: TechPreviewNoUpgrade
pullSecret: ${PULL_SECRET}

View File

@@ -1,30 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import xmlrunner
import os
import sys
import glob
import yaml
ASSETS_DIR = ""
class DefaultTechPreviewLoadBalancerClusterInfraObject(unittest.TestCase):
def setUp(self):
"""Parse the Cluster Infrastructure object into a Python data structure."""
self.machines = []
cluster_infra = f'{ASSETS_DIR}/manifests/cluster-infrastructure-02-config.yml'
with open(cluster_infra) as f:
self.cluster_infra = yaml.load(f, Loader=yaml.FullLoader)
def test_load_balancer(self):
"""Assert that the Cluster infrastructure object does not contain the LoadBalancer configuration."""
self.assertNotIn("loadBalancer", self.cluster_infra["status"]["platformStatus"]["openstack"])
if __name__ == '__main__':
ASSETS_DIR = sys.argv.pop()
with open(os.environ.get('JUNIT_FILE', '/dev/null'), 'wb') as output:
unittest.main(testRunner=xmlrunner.XMLTestRunner(output=output), failfast=False, buffer=False, catchbreak=False, verbosity=2)

View File

@@ -30,5 +30,4 @@ platform:
cloud: ${OS_CLOUD}
loadBalancer:
type: OpenShiftManagedDefault
featureSet: TechPreviewNoUpgrade
pullSecret: ${PULL_SECRET}

View File

@@ -30,5 +30,4 @@ platform:
cloud: ${OS_CLOUD}
loadBalancer:
type: UserManaged
featureSet: TechPreviewNoUpgrade
pullSecret: ${PULL_SECRET}