-
Bug
-
Resolution: Unresolved
-
Critical
-
4.20, 4.21
Description of problem:
4.20 hypershift added a postStart hook to KAS which hardcodes 6443 port for it's check: https://github.com/openshift/hypershift/blob/d29713d06741fb622fd0deed29c9c073b5c61495/control-plane-operator/controllers/hostedcontrolplane/v2/assets/kube-apiserver/deployment.yaml#L43C49-L43C53 However there is an option to set a custom apiserver port in `hostedcluster.spec.networking.apiServer.port`: https://github.com/openshift/hypershift/blob/d29713d06741fb622fd0deed29c9c073b5c61495/control-plane-operator/controllers/hostedcontrolplane/v2/kas/deployment.go#L112 If this option is set to anything but the default, the apiserver will fail to come up.
Version-Release number of selected component (if applicable):
4.20, 4.21
How reproducible:
Always
Steps to Reproduce:
1. Create 4.20 HostedCluster with hostedcluster.spec.networking.apiServer.port set to 2040 (IBMCloud default)
Actual results:
KAS will be stuck PodInitializing
Expected results:
KAS comes up fine
Additional info:
- blocks
-
OCPBUGS-61575 KAS postStart hook doesn't respect hostedcluster.spec.networking.apiServer.port
-
- Verified
-
- is cloned by
-
OCPBUGS-61575 KAS postStart hook doesn't respect hostedcluster.spec.networking.apiServer.port
-
- Verified
-
- links to