-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Proactive Architecture
-
False
-
-
False
During the Agent installer MVP there were functions duplicated that could be used in both the IPI and agent installer flows. We should remove those duplicate functions and potentially create a common package or waitfor package for these functions.
This is mostly the functions used in create.go for the original waitfor.
Context:
waitForBootstrapConfigMap() | IsBootstrapConfigMapComplete()
- cmd/openshift-install/create.go - waitForBootstrapConfigMap()
- pkg/agent/kube.go - IsBootstrapConfigMapComplete()
getConsole() | IsConsoleRouteAvailable() and IsConsoleRouteURLAvailable()
- cmd/openshift-install/create.go - getConsole()
- pkg/agent/ocp.go - IsConsoleRouteAvailable()
- pkg/agent/ocp.go - IsConsoleRouteURLAvailable()
waitForInitializedCluster() | AreClusterOperatorsInitialized()