1
0
mirror of https://github.com/rancher/rke.git synced 2025-05-10 17:35:03 +00:00

Fix weave configmap key

This commit is contained in:
galal-hussein 2019-03-05 20:50:19 +02:00 committed by Alena Prokharchyk
parent 8c4a920641
commit 1926fee1eb

View File

@ -53,7 +53,6 @@ const (
CanalFlannelBackendType = "canal_flannel_backend_type"
WeaveNetworkPlugin = "weave"
WeavePasswordKey = "weave_password"
// List of map keys to be used with network templates
@ -197,7 +196,7 @@ func (c *Cluster) doCanalDeploy(ctx context.Context) error {
func (c *Cluster) doWeaveDeploy(ctx context.Context) error {
weaveConfig := map[string]interface{}{
ClusterCIDR: c.ClusterCIDR,
WeavePassword: c.Network.Options[WeavePasswordKey],
WeavePassword: c.Network.Options[WeavePassword],
Image: c.SystemImages.WeaveNode,
CNIImage: c.SystemImages.WeaveCNI,
WeaveLoopbackImage: c.SystemImages.Alpine,