Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace tectonic-network-operator with cluster-network-operator #600

Merged
merged 3 commits into from
Nov 12, 2018
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]]
squeed marked this conversation as resolved.
Show resolved Hide resolved
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