Skip to content

Commit 29c8659

Browse files
committed
Temp: Test without postInstall steps
This commit will be removed after coed without post-install steps pass.
1 parent a983f24 commit 29c8659

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

cmd/openshift-install/create.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ func clusterCreatePostRun(ctx context.Context) (int, error) {
159159
}
160160

161161
// Handle the case when the API server is not reachable.
162-
savedConfig := config
163162
customDNSData := customDNSInfo{}
164163
if err := getCustomDNSInfo(ctx, &customDNSData); err != nil {
165164
logrus.Fatal(fmt.Errorf("unable to retrieve configuration for UserProvisionedDNS: %w", err))
@@ -234,21 +233,6 @@ func clusterCreatePostRun(ctx context.Context) (int, error) {
234233
timer.StopTimer(timer.TotalTimeElapsed)
235234
timer.LogSummary()
236235

237-
// When userProvisionedDNS (custom-DNS) feature is enabled, the customer is expected to do the
238-
// following after a successful install:
239-
// 1. For public clusters, their external/customton DNS solution outside the cluster needs to be
240-
// configured with entries for api and *.apps. Installer can provide the user with this information
241-
// 2. For private clusters, if the install host is not in the same network as the cluster, a bastion
242-
// host needs to be setup that forwards api and *.apps URLs to the cluster. The Installer has to update
243-
// its kubeconfig for this step.
244-
reachable, err := postInstallSteps(&customDNSData)
245-
if err != nil {
246-
logrus.Fatal(fmt.Errorf("unable to perform post Install steps: %w", err))
247-
}
248-
if !reachable {
249-
// Revert back to saved kubeconfig without Dialer context.
250-
config = savedConfig
251-
}
252236
return 0, nil
253237
}
254238

0 commit comments

Comments
 (0)