Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions Gopkg.lock

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

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,7 @@ ignored = ["github.com/openshift/installer/tests*"]
[[constraint]]
name = "k8s.io/utils"
revision = "4c3feeb576b06ef8fea769809bd3db5e5e78dc23"

[[constraint]]
name = "github.com/openshift/cluster-network-operator"
revision = "fb8b55a1072436a51b153de9acf5bf5525efcf83"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions data/data/bootstrap/files/usr/local/bin/bootkube.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ then
cp kube-scheduler-bootstrap/manifests/* manifests/
fi

# TODO: Remove this when manifest-overrides is empty.
echo "Installing temporary bootstrap manifests..."
cp manifest-overrides/* manifests/

if [ ! -d mco-bootstrap ]
then
echo "Rendering MCO manifests..."
Expand Down
15 changes: 0 additions & 15 deletions data/data/manifests/bootkube/app-version-tectonic-network.yaml

This file was deleted.

This file was deleted.

17 changes: 10 additions & 7 deletions pkg/asset/installconfig/installconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

netopv1 "github.com/openshift/cluster-network-operator/pkg/apis/networkoperator/v1"
"github.com/openshift/installer/pkg/asset"
"github.com/openshift/installer/pkg/ipnet"
"github.com/openshift/installer/pkg/types"
Expand All @@ -18,8 +19,9 @@ const (
)

var (
defaultServiceCIDR = parseCIDR("10.3.0.0/16")
defaultPodCIDR = parseCIDR("10.2.0.0/16")
defaultServiceCIDR = parseCIDR("10.3.0.0/16")
defaultClusterCIDR = "10.2.0.0/16"
defaultHostSubnetLength = 9 // equivalent to a /23 per node
)

// InstallConfig generates the install-config.yml file.
Expand Down Expand Up @@ -78,15 +80,16 @@ func (a *InstallConfig) Generate(parents asset.Parents) error {
},
BaseDomain: baseDomain.BaseDomain,
Networking: types.Networking{
// TODO(yifan): Flannel is the temporal default network type for now,
// Need to update it to the new types.
Type: "flannel",
Type: "OpenshiftSDN",

ServiceCIDR: ipnet.IPNet{
IPNet: defaultServiceCIDR,
},
PodCIDR: ipnet.IPNet{
IPNet: defaultPodCIDR,
ClusterNetworks: []netopv1.ClusterNetwork{
{
CIDR: defaultClusterCIDR,
HostSubnetLength: uint32(defaultHostSubnetLength),
},
},
},
PullSecret: pullSecret.PullSecret,
Expand Down
73 changes: 0 additions & 73 deletions pkg/asset/machines/cluster_k8s_io.go

This file was deleted.

Loading