mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 14:36:32 +00:00
Add weave loopback binary
This commit is contained in:
committed by
Alena Prokharchyk
parent
80b88f9d32
commit
08358c85cd
@@ -75,11 +75,12 @@ const (
|
||||
ClusterCIDR = "ClusterCIDR"
|
||||
// Images key names
|
||||
|
||||
Image = "Image"
|
||||
CNIImage = "CNIImage"
|
||||
NodeImage = "NodeImage"
|
||||
ControllersImage = "ControllersImage"
|
||||
CanalFlannelImg = "CanalFlannelImg"
|
||||
Image = "Image"
|
||||
CNIImage = "CNIImage"
|
||||
NodeImage = "NodeImage"
|
||||
ControllersImage = "ControllersImage"
|
||||
CanalFlannelImg = "CanalFlannelImg"
|
||||
WeaveLoopbackImage = "WeaveLoopbackImage"
|
||||
|
||||
Calicoctl = "Calicoctl"
|
||||
|
||||
@@ -174,10 +175,11 @@ func (c *Cluster) doCanalDeploy(ctx context.Context) error {
|
||||
|
||||
func (c *Cluster) doWeaveDeploy(ctx context.Context) error {
|
||||
weaveConfig := map[string]string{
|
||||
ClusterCIDR: c.ClusterCIDR,
|
||||
Image: c.SystemImages.WeaveNode,
|
||||
CNIImage: c.SystemImages.WeaveCNI,
|
||||
RBACConfig: c.Authorization.Mode,
|
||||
ClusterCIDR: c.ClusterCIDR,
|
||||
Image: c.SystemImages.WeaveNode,
|
||||
CNIImage: c.SystemImages.WeaveCNI,
|
||||
WeaveLoopbackImage: c.SystemImages.Alpine,
|
||||
RBACConfig: c.Authorization.Mode,
|
||||
}
|
||||
pluginYaml, err := c.getNetworkPluginManifest(weaveConfig)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user