Skip to content

Commit

Permalink
Merge pull request #54 from abhinavdahiya/tnco_to_mco
Browse files Browse the repository at this point in the history
update for installconfig discovery
  • Loading branch information
openshift-merge-robot committed Sep 12, 2018
2 parents 4d40db1 + ccc5a8d commit 27e4db7
Show file tree
Hide file tree
Showing 18 changed files with 63 additions and 25 deletions.
10 changes: 6 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/operator/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func RenderBootstrap(

mcoconfig, err := discoverMCOConfig(getInstallConfigFromFile(filesData[clusterConfigConfigMapFile]))
if err != nil {
return fmt.Errorf("error discovering MCOConfig from %q", clusterConfigConfigMapFile)
return fmt.Errorf("error discovering MCOConfig from %q: %v", clusterConfigConfigMapFile, err)
}

obji, err := runtime.Decode(scheme.Codecs.UniversalDecoder(corev1.SchemeGroupVersion), filesData[imagesConfigMapFile])
Expand Down
8 changes: 2 additions & 6 deletions pkg/operator/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ metadata:
creationTimestamp: null
name: test-0
networking:
podCIDR:
IP: 10.2.0.0
Mask: //8AAA==
serviceCIDR:
IP: 10.3.0.0
Mask: //8AAA==
podCIDR: 10.2.0.0/16
serviceCIDR: 10.3.0.0/16
type: flannel
platform:
libvirt:
Expand Down
49 changes: 49 additions & 0 deletions vendor/github.com/openshift/installer/pkg/ipnet/ipnet.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 27e4db7

Please sign in to comment.