-
Bug
-
Resolution: Done
-
Critical
-
4.12.0
-
Critical
-
None
-
Proposed
-
False
-
Description of problem:
Installation fails on AWS because the installer manifests include an invalid ingresses.config.openshift.io/cluster manifest.
Version-Release number of selected component (if applicable):
4.12.
How reproducible:
Seems to be a consistent failure.
Steps to Reproduce:
1. Install a cluster on AWS without specifying lbType in the install-config.
Actual results:
The cluster bootstrap fails with the following error message:
"cluster-ingress-02-config.yml": failed to create ingresses.v1.config.openshift.io/cluster -n : Ingress.config.openshift.io "cluster" is invalid: spec.loadBalancer.platform.aws.type: Required value
Expected results:
Cluster bootstrap should succeed.
Additional info:
https://github.com/openshift/installer/pull/6478 introduced the problematic logic that sets spec.loadBalancer.platform.aws without setting spec.loadBalancer.platform.aws.type.